Commit 094f24a
virtio-net: fix total qstat values
[ Upstream commit 001160e ]
NIPA tests report that the interface statistics reported
via qstat are lower than those reported via ip link.
Looks like this is because some tests flip the queue
count up and down, and we end up with some of the traffic
accounted on disabled queues.
Add up counters from disabled queues.
Fixes: d888f04 ("virtio-net: support queue stat")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250507003221.823267-3-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent e4196ff commit 094f24a
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5663 | 5663 | | |
5664 | 5664 | | |
5665 | 5665 | | |
| 5666 | + | |
| 5667 | + | |
| 5668 | + | |
| 5669 | + | |
5666 | 5670 | | |
5667 | 5671 | | |
5668 | 5672 | | |
| |||
0 commit comments