Skip to content

RFC netdev: add per-queue statistics

Jakub Kicinski netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netdev: add per-queue statisticsDocumentation/netlink/specs/netdev.yaml Documentation/networking/statistics.rst include/linux/netdevice.h +6 more+429 -110 replies
2/3netdev: add queue stat for alloc failuresDocumentation/netlink/specs/netdev.yaml include/net/netdev_queues.h include/uapi/linux/netdev.h +2 more+13 -10 replies
3/3eth: bnxt: support per-queue statisticsdrivers/net/ethernet/broadcom/bnxt/bnxt.c+63 -03 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC net-next 0/3] netdev: add per-queue statistics

Hi!

Per queue stats keep coming up, so it's about time someone laid the foundation. This series adds the uAPI, a handful of stats and a sample support for bnxt. It's not very comprehensive in terms of stat types or driver support. The expectation is that the support will grow organically. If we have the basic pieces in place it will be easy for reviewers to request new stats, or use of the API in place of ethtool -S.

See patch 3 for sample output.

Jakub Kicinski (3):
netdev: add per-queue statistics
netdev: add queue stat for alloc failures
eth: bnxt: support per-queue statistics

 Documentation/netlink/specs/netdev.yaml   |  91 +++++++++
 Documentation/networking/statistics.rst   |  17 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c |  63 +++++++
 include/linux/netdevice.h                 |   3 +
 include/net/netdev_queues.h               |  56 ++++++
 include/uapi/linux/netdev.h               |  21 +++
 net/core/netdev-genl-gen.c                |  12 ++
 net/core/netdev-genl-gen.h                |   2 +
 net/core/netdev-genl.c                    | 219 ++++++++++++++++++++++
 tools/include/uapi/linux/netdev.h         |  21 +++
 10 files changed, 504 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.2