Re: [dpdk-dev] [PATCH v2] net/virtio: fix unexpected event after reconnect

2020-05-15 Thread Maxime Coquelin
On 5/15/20 4:35 AM, Marvin Liu wrote: > 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. > > F

Re: [dpdk-dev] [PATCH v2] net/virtio: fix unexpected event after reconnect

2020-05-15 Thread Maxime Coquelin
On 5/15/20 4:35 AM, Marvin Liu wrote: > 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. > > F

Re: [dpdk-dev] [PATCH v2] net/virtio: fix unexpected event after reconnect

2020-05-14 Thread Wang, Xiao W
Hi, Best Regards, Xiao > -Original Message- > From: Liu, Yong > Sent: Friday, May 15, 2020 10:35 AM > To: maxime.coque...@redhat.com; Ye, Xiaolong ; > Wang, Zhihong ; Wang, Xiao W > > Cc: dev@dpdk.org; Liu, Yong ; sta...@dpdk.org > Subject: [PATCH v2] net/virtio: fix unexpected event af

[dpdk-dev] [PATCH v2] net/virtio: fix unexpected event after reconnect

2020-05-14 Thread Marvin Liu
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: 6ebbf4109f35 ("net/virtio-user: fix packed ring