diff options
author | Koichiro Den <[email protected]> | 2024-12-06 10:10:45 +0900 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-12-10 11:22:21 +0100 |
commit | 1480f0f61b675567ca5d0943d6ef2e39172dcafd (patch) | |
tree | d1f98b7ee8a2ca0542324f54bf2134a53bc639f8 /drivers/fpga/fpga-mgr.c | |
parent | 8d6712c892019b9b9dc5c7039edd3c9d770b510b (diff) |
virtio_net: ensure netdev_tx_reset_queue is called on tx ring resize
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: <[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