Re: [PATCH net-next v2 2/5] virtio_ring: add 'flushed' as an argument to virtqueue_resize()

From: Jason Wang
Date: Tue Dec 03 2024 - 21:45:13 EST


On Tue, Dec 3, 2024 at 3:31 PM Koichiro Den <koichiro.den@xxxxxxxxxxxxx> wrote:
>
> When virtqueue_resize() has actually recycled all unused buffers,
> additional work may be required in some cases. Relying solely on its
> return status is fragile, so introduce a new argument 'flushed' to
> explicitly indicate whether it has really occurred.
>
> Signed-off-by: Koichiro Den <koichiro.den@xxxxxxxxxxxxx>

Acked-by: Jason Wang <jasowang@xxxxxxxxxx>

Thanks