Re: [PATCH] virtio-net: purge queued rx packets on queue deletion

2020-11-17 Thread Yuri Benditovich
Hi Jason, Sorry, there is a mistake in the title: should be 'net' instead of 'virtio-net'. Can you please fix it? Thanks, Yuri Benditovich On Wed, Nov 18, 2020 at 5:59 AM Jason Wang wrote: > > On 2020/11/12 下午5:46, Yuri Benditovich wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1829272

Re: [PATCH] virtio-net: purge queued rx packets on queue deletion

2020-11-17 Thread Jason Wang
On 2020/11/12 下午5:46, Yuri Benditovich wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1829272 When deleting queue pair, purge pending RX packets if any. Example of problematic flow: 1. Bring up q35 VM with tap (vhost off) and virtio-net or e1000e 2. Run ping flood to the VM NIC ( 1 ms inter

[PATCH] virtio-net: purge queued rx packets on queue deletion

2020-11-12 Thread Yuri Benditovich
https://bugzilla.redhat.com/show_bug.cgi?id=1829272 When deleting queue pair, purge pending RX packets if any. Example of problematic flow: 1. Bring up q35 VM with tap (vhost off) and virtio-net or e1000e 2. Run ping flood to the VM NIC ( 1 ms interval) 3. Hot unplug the NIC device (device_del)