summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorKoichiro Den <koichiro.den@canonical.com>2024-12-06 10:10:47 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-22 14:29:38 +0200
commitc43b0a185fa6d5a0e868a48085c6fe89a757a4cc (patch)
tree57929e29db45511bc11b0830070925e8ce6f26c2 /net/lapb
parent343a77562c1f4b0ef500c5859a8e3e72989ca4c4 (diff)
virtio_net: ensure netdev_tx_reset_queue is called on bind xsk for tx
[ Upstream commit 76a771ec4c9adfd75fe53c8505cf656a075d7101 ] virtnet_sq_bind_xsk_pool() flushes tx skbs and then resets tx queue, so DQL counters need to be reset when flushing has actually occurred, Add virtnet_sq_free_unused_buf_done() as a callback for virtqueue_resize() to handle this. Fixes: 21a4e3ce6dc7 ("virtio_net: xsk: bind/unbind xsk for tx") Signed-off-by: Koichiro Den <koichiro.den@canonical.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions