numam-dpdk/lib/librte_vhost
Matan Azrad da2b788041 vhost: fix features definition location
The vhost library provide an infrastructure in order to help the DPDK
users to manage vhost devices.

One of the infrastructure parts is the features enablement APIs.

Some features bits may be defined only in the internal file vhost.h in
case the kernel version doesn't include them.

Hence, user running on old kernel may not be able to manage thus
features.

Move all the feature bits definitions to the API file rte_vhost.h.

Fixes: db69be54b6 ("vhost: hide internal code")
Fixes: 8d286dbeb8 ("vhost: fix multiple queue not enabled for old kernels")
Fixes: 3d3c6590b5 ("vhost: enable virtio MTU feature")
Fixes: 704098fc47 ("vhost: fix build with old kernels")
Cc: stable@dpdk.org

Signed-off-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-06-30 14:52:31 +02:00
..
fd_man.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
fd_man.h vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
iotlb.c vhost: make IOTLB cache name unique among processes 2020-04-21 13:57:07 +02:00
iotlb.h vhost: replace IOTLB license with SPDX tag 2019-08-05 16:06:11 +02:00
Makefile vhost: split vDPA header file 2020-06-30 14:52:30 +02:00
meson.build vhost: split vDPA header file 2020-06-30 14:52:30 +02:00
rte_vdpa_dev.h vhost: support host notifier queue configuration 2020-06-30 14:52:30 +02:00
rte_vdpa.h vhost: split vDPA header file 2020-06-30 14:52:30 +02:00
rte_vhost_crypto.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_vhost_version.map vhost: remove vDPA device count API 2020-06-30 14:52:30 +02:00
rte_vhost.h vhost: fix features definition location 2020-06-30 14:52:31 +02:00
socket.c vhost: replace vDPA device ID in Vhost 2020-06-30 14:52:30 +02:00
vdpa.c vhost: split vDPA header file 2020-06-30 14:52:30 +02:00
vhost_crypto.c vhost/crypto: validate keys lengths 2020-05-18 15:22:34 +02:00
vhost_user.c vhost: notify virtq file descriptor update 2020-06-30 14:52:31 +02:00
vhost_user.h replace packed attributes 2020-04-16 18:16:46 +02:00
vhost.c vhost: replace vDPA device ID in Vhost 2020-06-30 14:52:30 +02:00
vhost.h vhost: fix features definition location 2020-06-30 14:52:31 +02:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: handle mbuf allocation failure 2020-05-18 20:35:57 +02:00