Skip to content

stats: add support for per-channel and XDP standard stats

Alexander Lobakin bpf linux-doc lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5sync UAPI header copiesuapi/linux/ethtool.h uapi/linux/ethtool_netlink.h uapi/linux/if_link.h +2 more+92 -70 replies
2/5stats: factor out one stat field printingnetlink/stats.c+34 -190 replies
3/5stats: add support for per-channel statistics [blocks]netlink/stats.c+63 -40 replies
4/5man: fix typo for "rmon" standard stat typeethtool.8.in+1 -10 replies
5/5man: mention XDP standard statistics in help and man pageethtool.8.in ethtool.c+3 -20 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJesse Brandeburg
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH ethtool-next 0/5] stats: add support for per-channel and XDP standard stats

This series adds bits to support per-channel standard statistics, mentions the new "xdp" group of standard stats landed in Linux with commit 44eee6116fda ("ethtool, stats: introduce standard XDP statistics") and fixes one typo in the man page while at it.

The original series for the kernel part is here: [0]

[0] https://lore.kernel.org/netdev/[email protected]

Alexander Lobakin (5):
sync UAPI header copies
stats: factor out one stat field printing
stats: add support for per-channel statistics [blocks]
man: fix typo for "rmon" standard stat type
man: mention XDP standard statistics in help and man page

 ethtool.8.in                 |   5 +-
 ethtool.c                    |   2 +-
 netlink/stats.c              | 114 +++++++++++++++++++++++++++++------
 uapi/linux/ethtool.h         |   6 +-
 uapi/linux/ethtool_netlink.h |  51 +++++++++++++++-
 uapi/linux/if_link.h         |  20 ++++++
 uapi/linux/net_tstamp.h      |  17 +++++-
 uapi/linux/netlink.h         |   5 +-
 8 files changed, 190 insertions(+), 30 deletions(-)
Signature · 1 line
2.31.1