Spdk/lib/vhost
Vitaliy Mysak 5ffe337846 vhost: change features initialization for vhost-blk
Replace usage of rte_vhost_driver_enable_features() by
 setting disabled_features field dynamically.

This patch doesn't change functionality, but simplifies
 initialization and removes usage of socket operation.
Call to drive_enable_features() had to be done when
 features field was static, but now it is mutable so
 the call became redundant.

Change-Id: I6efc63883773e4ba6d931efd057a38a705c53217
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/476616
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Community-CI: SPDK CI Jenkins <sys_sgci@intel.com>
2019-12-20 10:07:16 +00:00
..
Makefile make: add dependencies for the rte_vhost build. 2019-09-09 22:15:24 +00:00
rte_vhost_compat.c vhost: make g_spdk_vhost_ops as static variable 2019-12-17 09:30:03 +00:00
vhost_blk.c vhost: change features initialization for vhost-blk 2019-12-20 10:07:16 +00:00
vhost_internal.h vhost: move feature fields from backend to vdev structure 2019-12-20 10:07:16 +00:00
vhost_nvme.c nvme: allow setting of completion queue CDW0 2019-10-24 18:02:38 +00:00
vhost_rpc.c vhost_rpc: Fix function typo error. 2019-10-10 16:52:44 +00:00
vhost_scsi.c vhost: move feature fields from backend to vdev structure 2019-12-20 10:07:16 +00:00
vhost.c vhost: move feature fields from backend to vdev structure 2019-12-20 10:07:16 +00:00