numam-dpdk/drivers/net/virtio
Xuan Ding 6ebbf4109f net/virtio-user: fix packed ring server mode
This patch fixes the situation where data path does not work properly
when vhost reconnects to virtio in server mode with packed ring.

Currently, virtio and vhost share memory of vring. For split ring, vhost
can read the status of descriptors directly from the available ring and
the used ring during reconnection. Therefore, the data path can
continue.

But for packed ring, when reconnecting to virtio, vhost cannot get the
status of descriptors via the descriptor ring. By resetting Tx
and Rx queues, the data path can restart from the beginning.

Fixes: 4c3f5822eb ("net/virtio: add packed virtqueue defines")
Cc: stable@dpdk.org

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-01-17 19:46:26 +01:00
..
virtio_user net/virtio-user: check tap offload setting failure 2020-01-17 19:46:26 +01:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build net/virtio: add Altivec Rx 2019-10-07 15:00:53 +02:00
rte_pmd_virtio_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
virtio_ethdev.c net/virtio-user: fix packed ring server mode 2020-01-17 19:46:26 +01:00
virtio_ethdev.h net/virtio: support packed ring notification data 2020-01-17 19:46:26 +01:00
virtio_logs.h net/virtio: implement dynamic logging 2018-01-16 18:47:49 +01:00
virtio_pci.c net/virtio: support packed ring notification data 2020-01-17 19:46:26 +01:00
virtio_pci.h net/virtio: support packed ring notification data 2020-01-17 19:46:26 +01:00
virtio_ring.h net/virtio: define avail and used flags as constants 2019-03-29 17:25:32 +01:00
virtio_rxtx_simple_altivec.c net/virtio: fix Rx AltiVec path by getting all packets 2019-10-23 16:43:09 +02:00
virtio_rxtx_simple_neon.c net/virtio: get all pending Rx packets in vectorized paths 2019-10-07 15:00:57 +02:00
virtio_rxtx_simple_sse.c net/virtio: get all pending Rx packets in vectorized paths 2019-10-07 15:00:57 +02:00
virtio_rxtx_simple.c eal: add macro for attribute weak 2018-10-25 02:11:23 +02:00
virtio_rxtx_simple.h net/virtio: refactor virtqueue structure 2019-03-20 18:15:42 +01:00
virtio_rxtx.c net/virtio: fix Tx checksum offloads 2019-10-25 19:23:23 +02:00
virtio_rxtx.h net/virtio: fix Rx stats with vectorized functions 2019-10-07 15:00:57 +02:00
virtio_user_ethdev.c net/virtio-user: fix packed ring server mode 2020-01-17 19:46:26 +01:00
virtqueue.c net/virtio-user: fix packed ring server mode 2020-01-17 19:46:26 +01:00
virtqueue.h net/virtio-user: fix packed ring server mode 2020-01-17 19:46:26 +01:00