Skip to content

ethtool: support FEC and standard stats

Jakub Kicinski netdev 3 versions – Applied

Status from this message: This series was applied to ethtool/ethtool.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesApplied
  2. v27 patches 5 repliesSuperseded
  3. v17 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- update headers
- fix --disable-netlink build
- rename equivalency groups to alternatives

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7update UAPI header copiesuapi/linux/ethtool.h uapi/linux/ethtool_netlink.h uapi/linux/if_link.h +1 more+278 -330 replies
2/7json: improve array print APIjson_print.c json_print.h+12 -120 replies
3/7netlink: add FEC supportMakefile.am ethtool.c netlink/desc-ethtool.c +4 more+300 -10 replies
4/7netlink: fec: support displaying statisticsnetlink/fec.c+84 -10 replies
5/7ethtool: add nlchk for redirecting to netlinkethtool.c netlink/extapi.h netlink/netlink.c+15 -50 replies
6/7netlink: add support for standard statsMakefile.am ethtool.8.in ethtool.c +3 more+330 -30 replies
7/7netlink: stats: add an --all-groups optionethtool.8.in ethtool.c netlink/parser.c +2 more+80 -30 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchIdo Schimmel
1/7
2/7
3/7
4/7
5/7
6/7T-b
7/7T-b

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

Read the v3 thread

Cover letter [PACTH ethtool-next v3 0/7] ethtool: support FEC and standard stats

This series adds support for FEC requests via netlink and new "standard" stats.

Changes from v2:
- update headers
- fix --disable-netlink build
- rename equivalency groups to alternatives
Changes from v1:
- rebase on next, only conflicts in uAPI update
- fix the trailing "and" in patch 6
Changes compared to RFC:
- improve commit messages
- fix Rx vs Tx histogram in JSON
- make histograms less hardcoded to RMON
- expand man page entry for -S a little
- add --all-groups (last patch)

Jakub Kicinski (7):
update UAPI header copies
json: improve array print API
netlink: add FEC support
netlink: fec: support displaying statistics
ethtool: add nlchk for redirecting to netlink
netlink: add support for standard stats
netlink: stats: add an --all-groups option

 Makefile.am                  |   3 +-
 ethtool.8.in                 |  23 ++-
 ethtool.c                    |  12 +-
 json_print.c                 |  20 +-
 json_print.h                 |   4 +-
 netlink/desc-ethtool.c       |  51 +++++
 netlink/extapi.h             |  14 +-
 netlink/fec.c                | 359 +++++++++++++++++++++++++++++++++++
 netlink/monitor.c            |   4 +
 netlink/netlink.c            |   9 +-
 netlink/netlink.h            |   1 +
 netlink/parser.c             |  17 +-
 netlink/parser.h             |   4 +
 netlink/stats.c              | 319 +++++++++++++++++++++++++++++++
 uapi/linux/ethtool.h         | 109 +++++++----
 uapi/linux/ethtool_netlink.h | 187 ++++++++++++++++++
 uapi/linux/if_link.h         |   2 +-
 uapi/linux/rtnetlink.h       |  13 ++
 18 files changed, 1096 insertions(+), 55 deletions(-)
 create mode 100644 netlink/fec.c
 create mode 100644 netlink/stats.c
Signature · 1 line
2.31.1