mbox series

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

Message ID 20210416160252.2830567-1-kuba@kernel.org
Headers show
Series ethtool: add FEC & std stats support | expand

Message

Jakub Kicinski April 16, 2021, 4:02 p.m. UTC
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