netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 ethtool 0/4] MAC Merge layer support
@ 2023-02-10 21:33 Vladimir Oltean
  2023-02-10 21:33 ` [PATCH v3 ethtool 1/4] netlink: add support for MAC Merge layer Vladimir Oltean
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vladimir Oltean @ 2023-02-10 21:33 UTC (permalink / raw)
  To: netdev; +Cc: Michal Kubecek, Pranavi Somisetty, Piergiorgio Beruto

Add support for the following 2 new commands:

$ ethtool [ --include-statistics ] --show-mm <eth>
$ ethtool --set-mm <eth> [ ... ]

as well as for:

$ ethtool --include-statistics --show-pause <eth> --src pmac|emac|aggregate
$ ethtool --include-statistics --show-pause <eth> --src pmac|emac|aggregate
$ ethtool -S <eth> --groups eth-mac eth-phy eth-ctrl rmon -- --src pmac

and some modest amount of documentation (the bulk of it is already
distributed with the kernel's ethtool netlink rst).

This patch set applies on top of "[v5,ethtool-next,1/1] add support for
IEEE 802.3cg-2019 Clause 148", because otherwise it would conflict with it:
https://patchwork.kernel.org/project/netdevbpf/patch/d51013e0bc617651c0e6d298f47cc6b82c0ffa88.1675327734.git.piergiorgio.beruto@gmail.com/
I believe Michal hasn't gotten to it yet, but I'm putting Piergiorgio on
CC too, in case there are other reasons why I shouldn't wait for his patch
to be merged first.

Vladimir Oltean (4):
  netlink: add support for MAC Merge layer
  netlink: pass the source of statistics for pause stats
  netlink: pass the source of statistics for port stats
  ethtool.8: update documentation with MAC Merge related bits

 Makefile.am      |   2 +-
 ethtool.8.in     | 107 +++++++++++++++++++
 ethtool.c        |  16 +++
 netlink/extapi.h |   4 +
 netlink/mm.c     | 270 +++++++++++++++++++++++++++++++++++++++++++++++
 netlink/pause.c  |  33 +++++-
 netlink/stats.c  |  14 +++
 7 files changed, 440 insertions(+), 6 deletions(-)
 create mode 100644 netlink/mm.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-02-13 18:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 21:33 [PATCH v3 ethtool 0/4] MAC Merge layer support Vladimir Oltean
2023-02-10 21:33 ` [PATCH v3 ethtool 1/4] netlink: add support for MAC Merge layer Vladimir Oltean
2023-02-10 21:33 ` [PATCH v3 ethtool 2/4] netlink: pass the source of statistics for pause stats Vladimir Oltean
2023-02-10 21:33 ` [PATCH v3 ethtool 3/4] netlink: pass the source of statistics for port stats Vladimir Oltean
2023-02-10 21:33 ` [PATCH v3 ethtool 4/4] ethtool.8: update documentation with MAC Merge related bits Vladimir Oltean
2023-02-12 19:13 ` [PATCH v3 ethtool 0/4] MAC Merge layer support piergiorgio.beruto
2023-02-13 18:10 ` patchwork-bot+netdevbpf

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).