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


Reply via email to