numam-dpdk/lib/librte_vhost
Xuan Ding 715070ea10 vhost: prevent zero-copy with incompatible client mode
In server mode, virtio-user inits under the assumption that vhost-user
supports a list of features. However, this could be problematic when
in_order feature is negotiated but not supported by vhost-user when
enables dequeue_zero_copy later.

Add handling when vhost-user enables dequeue_zero_copy as client.

Fixes: 64ab701c3d ("vhost: add vhost-user client mode")
Cc: stable@dpdk.org

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Tested-by: Yinan Wang <yinan.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-05-05 15:54:26 +02:00
..
fd_man.c
fd_man.h
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 build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
rte_vdpa.h vhost: prefix vDPA enum value for PCI address type 2020-04-21 13:57:07 +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: support config change slave message 2020-01-17 19:46:26 +01:00
rte_vhost.h vhost/crypto: add missing user protocol flag 2020-04-21 13:57:07 +02:00
socket.c vhost: prevent zero-copy with incompatible client mode 2020-05-05 15:54:26 +02:00
vdpa.c vhost: prefix vDPA enum value for PCI address type 2020-04-21 13:57:07 +02:00
vhost_crypto.c vhost/crypto: add missing user protocol flag 2020-04-21 13:57:07 +02:00
vhost_user.c vhost: optimize broadcast RARP sync with C11 atomic 2020-05-05 15:54:26 +02:00
vhost_user.h replace packed attributes 2020-04-16 18:16:46 +02:00
vhost.c vhost: protect log address translation in IOTLB update 2020-02-14 12:42:13 +01:00
vhost.h vhost: optimize broadcast RARP sync with C11 atomic 2020-05-05 15:54:26 +02:00
virtio_crypto.h
virtio_net.c vhost: optimize broadcast RARP sync with C11 atomic 2020-05-05 15:54:26 +02:00