Re: [PATCH v2 2/2] virtio-net: fix TX timer with tx_burst

2022-10-19 Thread Jason Wang
On Fri, Oct 14, 2022 at 9:20 PM Laurent Vivier wrote: > > When virtio_net_flush_tx() reaches the tx_burst value all > the queue is not flushed and nothing restart the timer. > > Fix that by doing for TX timer as we do for bottom half TX: > rearming the timer if we find any packet to send during th

[PATCH v2 2/2] virtio-net: fix TX timer with tx_burst

2022-10-14 Thread Laurent Vivier
When virtio_net_flush_tx() reaches the tx_burst value all the queue is not flushed and nothing restart the timer. Fix that by doing for TX timer as we do for bottom half TX: rearming the timer if we find any packet to send during the virtio_net_flush_tx() call. Fixes: e3f30488e5f8 ("virtio-net: L