net/vhost: remove feature related APIs
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 1 Apr 2017 07:22:40 +0000 (15:22 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 1 Apr 2017 08:40:13 +0000 (10:40 +0200)
commitda6b89c88c13bf095b90e7e8815d68bfcd8f8e1f
treed46d0a84a343f280cfe18502f771e5ff66bf4cfb
parent5fbb3941da9f08ecd75ee67e1a059c55c0d3ad2e
net/vhost: remove feature related APIs

The rte_eth_vhost_feature_disable/enable/get APIs are just a wrapper of
rte_vhost_feature_disable/enable/get. However, the later are going to
be refactored; it's going to take an extra parameter (socket_file path),
to let it be per-device.

Instead of changing those vhost-pmd APIs to adapt to the new vhost APIs,
we could simply remove them, and let vdev to serve this purpose. After
all, vdev options is better for disabling/enabling some features.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/rel_notes/release_17_05.rst
drivers/net/vhost/rte_eth_vhost.c
drivers/net/vhost/rte_eth_vhost.h
drivers/net/vhost/rte_pmd_vhost_version.map