[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250507003221.823267-1-kuba@kernel.org>
Date: Tue, 6 May 2025 17:32:19 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
andrew+netdev@...n.ch,
horms@...nel.org,
mst@...hat.com,
jasowang@...hat.com,
xuanzhuo@...ux.alibaba.com,
eperezma@...hat.com,
jdamato@...tly.com,
virtualization@...ts.linux.dev,
Jakub Kicinski <kuba@...nel.org>
Subject: [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(-)
--
2.49.0
Powered by blists - more mailing lists