Re: [PATCH net-next v3 5/7] virtio_net: ensure netdev_tx_reset_queue is called on tx ring resize
From: Jason Wang
Date: Thu Dec 05 2024 - 02:32:46 EST
On Wed, Dec 4, 2024 at 1:08 PM Koichiro Den <koichiro.den@xxxxxxxxxxxxx> wrote:
>
> virtnet_tx_resize() flushes remaining tx skbs, requiring DQL counters to
> be reset when flushing has actually occurred. Add
> virtnet_sq_free_unused_buf_done() as a callback for virtqueue_reset() to
> handle this.
>
> Fixes: c8bd1f7f3e61 ("virtio_net: add support for Byte Queue Limits")
> Cc: <stable@xxxxxxxxxxxxxxx> # v6.11+
> Signed-off-by: Koichiro Den <koichiro.den@xxxxxxxxxxxxx>
> ---
Acked-by: Jason Wang <jasowang@xxxxxxxxxx>
Thanks