Skip to content

virtio-net: fix total qstat values

Jakub Kicinski netdev virtualization 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: export a helper for adding up queue statsinclude/net/netdev_queues.h net/core/netdev-genl.c+56 -190 repliesApplied
2/2virtio-net: fix total qstat valuesdrivers/net/virtio_net.c+4 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] virtio-net: fix total qstat values

Another small fix discovered after we enabled virtio multi-queue in netdev CI. The queue stat test fails:

# Exception| Exception: Qstats are lower, fetched later not ok 3 stats.pkt_byte_sum

The queue stats from disabled queues are supposed to be reported in the "base" stats.

Jakub Kicinski (2):
net: export a helper for adding up queue stats
virtio-net: fix total qstat values

 include/net/netdev_queues.h |  6 ++++
 drivers/net/virtio_net.c    |  4 +++
 net/core/netdev-genl.c      | 69 +++++++++++++++++++++++++++----------
 3 files changed, 60 insertions(+), 19 deletions(-)
Signature · 1 line
2.49.0