Re: [dpdk-dev] [PATCH] net/virtio: disable event suppression when reconnect

2020-05-14 Thread Liu, Yong
o: Liu, Yong ; maxime.coque...@redhat.com; Ye, > Xiaolong ; Wang, Zhihong > > Cc: dev@dpdk.org; Liu, Yong > Subject: RE: [dpdk-dev] [PATCH] net/virtio: disable event suppression when > reconnect > > Hi Marvin, > > Comments inline. > Thanks for the fix. > > B

Re: [dpdk-dev] [PATCH] net/virtio: disable event suppression when reconnect

2020-05-14 Thread Wang, Xiao W
ct: [dpdk-dev] [PATCH] net/virtio: disable event suppression when > reconnect > > Event suppression should be disabled after virtqueue initialization. It s/Event suppression/interrupt/g > can be enabled by calling rte_eth_dev_rx_intr_enable later. > > Signed-off-by: Marvin Li

[dpdk-dev] [PATCH] net/virtio: disable event suppression when reconnect

2020-05-14 Thread Marvin Liu
Event suppression should be disabled after virtqueue initialization. It can be enabled by calling rte_eth_dev_rx_intr_enable later. Signed-off-by: Marvin Liu diff --git a/drivers/net/virtio/virtqueue.c b/drivers/net/virtio/virtqueue.c index 408bba236a..2702e120ee 100644 --- a/drivers/net/virtio/