]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
virtio_net: enhance wake/stop tx queue statistics accounting
authorLiming Wu <liming.wu@jaguarmicro.com>
Thu, 20 Nov 2025 01:53:20 +0000 (09:53 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Nov 2025 03:38:01 +0000 (19:38 -0800)
commitcfeb7cd80f40dbe02ee95cd175dec341c42abae1
tree3f639559366ea34b7bee99e0fbfa198afbaa99e3
parent8ccd11601659e6822cb7890e418979c65b4cd6fe
virtio_net: enhance wake/stop tx queue statistics accounting

This patch refines and strengthens the statistics collection of TX queue
wake/stop events introduced by commit c39add9b2423 ("virtio_net: Add TX
stopped and wake counters").

Previously, the driver only recorded partial wake/stop statistics
for TX queues. Some wake events triggered by 'skb_xmit_done()' or resume
operations were not counted, which made the per-queue metrics incomplete.

Signed-off-by: Liming Wu <liming.wu@jaguarmicro.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://patch.msgid.link/20251120015320.1418-1-liming.wu@jaguarmicro.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/virtio_net.c