numam-dpdk/drivers/net/virtio
Marvin Liu f50560a54b net/virtio: fix unexpected event after reconnect
Event notification should be disabled after virtqueue initialization and
enabled by calling rte_eth_dev_rx_intr_enable later. When virtio user
device reconnecting to vhost, virtqueue_disable_intr should be called to
disable event notification.

Fixes: 6ebbf4109f ("net/virtio-user: fix packed ring server mode")
Cc: stable@dpdk.org

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-05-18 20:35:57 +02:00
..
virtio_user virtio: use one way barrier for split vring used index 2020-05-05 15:54:26 +02:00
Makefile net/virtio: add vectorized packed ring Rx 2020-05-05 15:54:26 +02:00
meson.build net/virtio: fix AVX512 datapath selection 2020-05-11 23:04:33 +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: remove duplicated AVX512 check 2020-05-18 20:35:57 +02:00
virtio_ethdev.h net/virtio: add vectorized packed ring Tx 2020-05-05 15:54:26 +02: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: add parameter to enable vectorized path 2020-05-05 15:54:26 +02:00
virtio_ring.h virtio: use one way barrier for split vring used index 2020-05-05 15:54:26 +02:00
virtio_rxtx_packed_avx.c net/virtio: fix 32-bit build with clang 6 2020-05-11 22:27:39 +02:00
virtio_rxtx_simple_altivec.c virtio: use one way barrier for split vring used index 2020-05-05 15:54:26 +02:00
virtio_rxtx_simple_neon.c virtio: use one way barrier for split vring used index 2020-05-05 15:54:26 +02:00
virtio_rxtx_simple_sse.c virtio: use one way barrier for split vring used index 2020-05-05 15:54:26 +02:00
virtio_rxtx_simple.c replace cold attributes 2020-04-16 18:30:58 +02:00
virtio_rxtx_simple.h net/virtio: refactor virtqueue structure 2019-03-20 18:15:42 +01:00
virtio_rxtx.c virtio: use one way barrier for split vring used index 2020-05-05 15:54:26 +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: fix crash when device reconnecting 2020-05-11 22:27:39 +02:00
virtqueue.c net/virtio: fix unexpected event after reconnect 2020-05-18 20:35:57 +02:00
virtqueue.h virtio: use one way barrier for split vring avail index 2020-05-05 15:54:26 +02:00