5ffe337846
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>