numam-dpdk/lib/librte_vhost
Marvin Liu c7de6f9be5 vhost: fix shadowed descriptors not flushed
When ring size or enqueue packets not aligned with batch number, it is
possible that descs update still kept in shadowed used structure when
batched enqueue. Fix this issue by flushing remained shadowed used descs
before batch flush.

Fixes: f41516c309 ("vhost: flush batched enqueue descs directly")
Cc: stable@dpdk.org

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-04-21 13:57:09 +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 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: do not treat empty socket message as error 2020-02-05 11:47:18 +01: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: protect log address translation in IOTLB update 2020-02-14 12:42:13 +01: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: remove unused variable 2020-04-21 13:57:07 +02:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: fix shadowed descriptors not flushed 2020-04-21 13:57:09 +02:00