[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACGkMEvHUQDfAjeSBdNd0iotrgyjkbXuZBH7ehs6dZ74prspdw@mail.gmail.com>
Date: Thu, 5 Dec 2024 15:32:18 +0800
From: Jason Wang <jasowang@...hat.com>
To: Koichiro Den <koichiro.den@...onical.com>
Cc: virtualization@...ts.linux.dev, mst@...hat.com, xuanzhuo@...ux.alibaba.com,
eperezma@...hat.com, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com, jiri@...nulli.us,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH net-next v3 5/7] virtio_net: ensure netdev_tx_reset_queue
is called on tx ring resize
On Wed, Dec 4, 2024 at 1:08 PM Koichiro Den <koichiro.den@...onical.com> 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@...r.kernel.org> # v6.11+
> Signed-off-by: Koichiro Den <koichiro.den@...onical.com>
> ---
Acked-by: Jason Wang <jasowang@...hat.com>
Thanks
Powered by blists - more mailing lists