Skip to content

RFC ethtool: add FEC & std stats support

Jakub Kicinski netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6update UAPI header copiesuapi/linux/ethtool.h uapi/linux/ethtool_netlink.h uapi/linux/if_link.h +2 more+302 -410 replies
2/6json: simplify array print APIjson_print.c json_print.h+12 -120 replies
3/6netlink: add FEC supportMakefile.am ethtool.c netlink/desc-ethtool.c +4 more+297 -10 replies
4/6netlink: fec: support displaying statisticsnetlink/fec.c+84 -10 replies
5/6ethtool: add nlchk for redirecting to netlinkethtool.c netlink/extapi.h netlink/netlink.c+14 -50 replies
6/6netlink: add support for standard statsMakefile.am ethtool.8.in ethtool.c +3 more+301 -14 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC ethtool 0/6] ethtool: add FEC & std stats support

Sending these as RFC for testing of the kernel side.

I need to look through them again to double check for bugs, also the header update (patch 1) refers to a hash from my local tree.

Jakub Kicinski (6):
update UAPI header copies
json: simplify 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

 Makefile.am                  |   3 +-
 ethtool.8.in                 |  11 ++
 ethtool.c                    |  12 +-
 json_print.c                 |  20 +-
 json_print.h                 |   4 +-
 netlink/desc-ethtool.c       |  51 +++++
 netlink/extapi.h             |  13 +-
 netlink/fec.c                | 356 +++++++++++++++++++++++++++++++++++
 netlink/monitor.c            |   4 +
 netlink/netlink.c            |   9 +-
 netlink/netlink.h            |   1 +
 netlink/stats.c              | 242 ++++++++++++++++++++++++
 uapi/linux/ethtool.h         | 111 +++++++----
 uapi/linux/ethtool_netlink.h | 188 ++++++++++++++++++
 uapi/linux/if_link.h         |   9 +-
 uapi/linux/netlink.h         |   2 +-
 uapi/linux/rtnetlink.h       |  33 +++-
 17 files changed, 1009 insertions(+), 60 deletions(-)
 create mode 100644 netlink/fec.c
 create mode 100644 netlink/stats.c
Signature · 1 line
2.30.2