On Wed, Dec 4, 2024 at 1:08 PM Koichiro Den koichiro.den@canonical.com wrote:
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
Thanks