Re: [PATCH] virtio_net: Eliminate OOO packets during switching

2024-06-17 Thread Michael S. Tsirkin
On Fri, Jun 14, 2024 at 10:04:22PM +, Abhinav Jain wrote: > Disable the network device & turn off carrier before modifying the > number of queue pairs. > Process all the in-flight packets and then turn on carrier, followed > by waking up all the queues on the network device. Did you test that

Re: [PATCH] virtio_net: Eliminate OOO packets during switching

2024-06-16 Thread Jason Wang
On Sat, Jun 15, 2024 at 6:05 AM Abhinav Jain wrote: > > Disable the network device & turn off carrier before modifying the > number of queue pairs. > Process all the in-flight packets and then turn on carrier, followed > by waking up all the queues on the network device. > > Signed-off-by:

[PATCH] virtio_net: Eliminate OOO packets during switching

2024-06-14 Thread Abhinav Jain
Disable the network device & turn off carrier before modifying the number of queue pairs. Process all the in-flight packets and then turn on carrier, followed by waking up all the queues on the network device. Signed-off-by: Abhinav Jain --- drivers/net/virtio_net.c | 17 +++-- 1