netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: mkubecek@suse.cz
Cc: netdev@vger.kernel.org, idosch@idosch.org,
	Jakub Kicinski <kuba@kernel.org>
Subject: [PACTH ethtool-next v3 0/7] ethtool: support FEC and standard stats
Date: Mon,  3 May 2021 09:08:23 -0700	[thread overview]
Message-ID: <20210503160830.555241-1-kuba@kernel.org> (raw)

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


             reply	other threads:[~2021-05-03 16:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 16:08 Jakub Kicinski [this message]
2021-05-03 16:08 ` [PACTH ethtool-next v3 1/7] update UAPI header copies Jakub Kicinski
2021-05-03 16:08 ` [PACTH ethtool-next v3 2/7] json: improve array print API Jakub Kicinski
2021-05-03 16:08 ` [PACTH ethtool-next v3 3/7] netlink: add FEC support Jakub Kicinski
2021-05-03 16:08 ` [PACTH ethtool-next v3 4/7] netlink: fec: support displaying statistics Jakub Kicinski
2021-05-03 16:08 ` [PACTH ethtool-next v3 5/7] ethtool: add nlchk for redirecting to netlink Jakub Kicinski
2021-05-03 16:08 ` [PACTH ethtool-next v3 6/7] netlink: add support for standard stats Jakub Kicinski
2021-05-03 16:08 ` [PACTH ethtool-next v3 7/7] netlink: stats: add an --all-groups option Jakub Kicinski
2021-05-18 22:42 ` [PACTH ethtool-next v3 0/7] ethtool: support FEC and standard stats Jakub Kicinski
2021-05-20 15:44   ` Michal Kubecek
2021-05-20 15:47     ` Jakub Kicinski
2021-05-20 15:30 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210503160830.555241-1-kuba@kernel.org \
    --to=kuba@kernel.org \
    --cc=idosch@idosch.org \
    --cc=mkubecek@suse.cz \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).