[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210503160830.555241-1-kuba@kernel.org>
Date: Mon, 3 May 2021 09:08:23 -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: [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
--
2.31.1
Powered by blists - more mailing lists