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 -- 2.30.2