diff options
author | Koichiro Den <[email protected]> | 2024-12-06 10:10:44 +0900 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-12-10 11:22:21 +0100 |
commit | 8d6712c892019b9b9dc5c7039edd3c9d770b510b (patch) | |
tree | 11f1cbec7ba8051ea06500a85dd96123bc169d7e /drivers/fpga/fpga-mgr.c | |
parent | 4571dc7272b22cf35c7a5a1b14d3b036a2fefdc5 (diff) |
virtio_ring: add a func argument 'recycle_done' to virtqueue_resize()
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 function argument
'recycle_done', which is invoked when the recycle really occurs.
Cc: <[email protected]> # v6.11+
Signed-off-by: Koichiro Den <[email protected]>
Acked-by: Jason Wang <[email protected]>
Reviewed-by: Xuan Zhuo <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions