[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210420003112.3175038-1-kuba@kernel.org>
Date: Mon, 19 Apr 2021 17:31:05 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: mkubecek@...e.cz
Cc: netdev@...r.kernel.org, idosch@...sch.org,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH ethtool-next 0/7] ethtool: support FEC and standard stats
This series adds support for FEC requests via netlink
and new "standard" stats.
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 on --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 | 13 +-
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 | 111 +++++++----
uapi/linux/ethtool_netlink.h | 188 ++++++++++++++++++
uapi/linux/if_link.h | 9 +-
uapi/linux/netlink.h | 2 +-
uapi/linux/rtnetlink.h | 33 +++-
19 files changed, 1119 insertions(+), 63 deletions(-)
create mode 100644 netlink/fec.c
create mode 100644 netlink/stats.c
--
2.30.2
Powered by blists - more mailing lists