netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC net-next 0/3] netdev: add per-queue statistics
@ 2024-02-22 22:36 Jakub Kicinski
  2024-02-22 22:36 ` [RFC net-next 1/3] " Jakub Kicinski
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Jakub Kicinski @ 2024-02-22 22:36 UTC (permalink / raw)
  To: davem
  Cc: netdev, edumazet, pabeni, danielj, mst, amritha.nambiar,
	michael.chan, Jakub Kicinski

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(-)

-- 
2.43.2


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-02-26 19:42 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-22 22:36 [RFC net-next 0/3] netdev: add per-queue statistics Jakub Kicinski
2024-02-22 22:36 ` [RFC net-next 1/3] " Jakub Kicinski
2024-02-23  0:23   ` Nambiar, Amritha
2024-02-23  1:37     ` Jakub Kicinski
2024-02-23 20:40       ` Nambiar, Amritha
2024-02-23  0:29   ` Nambiar, Amritha
2024-02-23  1:44     ` Jakub Kicinski
2024-02-23  4:32       ` Stanislav Fomichev
2024-02-23  9:22         ` Vadim Fedorenko
2024-02-23 20:51       ` Nambiar, Amritha
2024-02-24  0:13         ` Jakub Kicinski
2024-02-26 19:42           ` Nambiar, Amritha
2024-02-22 22:36 ` [RFC net-next 2/3] netdev: add queue stat for alloc failures Jakub Kicinski
2024-02-22 22:36 ` [RFC net-next 3/3] eth: bnxt: support per-queue statistics Jakub Kicinski
2024-02-23  0:29   ` Nambiar, Amritha
2024-02-23  1:33     ` Jakub Kicinski
2024-02-23 20:42       ` Nambiar, Amritha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).