lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230124142056.3778131-1-vladimir.oltean@nxp.com>
Date:   Tue, 24 Jan 2023 16:20:51 +0200
From:   Vladimir Oltean <vladimir.oltean@....com>
To:     netdev@...r.kernel.org
Cc:     Michal Kubecek <mkubecek@...e.cz>,
        Jakub Kicinski <kuba@...nel.org>,
        Vinicius Costa Gomes <vinicius.gomes@...el.com>
Subject: [PATCH v2 ethtool 0/5] MAC Merge layer support

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 the PLCA UAPI update:
https://patchwork.kernel.org/project/netdevbpf/cover/cover.1673458497.git.piergiorgio.beruto@gmail.com/

Vladimir Oltean (5):
  uapi: add kernel headers for MAC merge layer
  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                 |  99 +++++++++++++
 ethtool.c                    |  16 +++
 netlink/desc-ethtool.c       |  29 ++++
 netlink/extapi.h             |   4 +
 netlink/mm.c                 | 270 +++++++++++++++++++++++++++++++++++
 netlink/parser.c             |   6 +-
 netlink/parser.h             |   4 +
 netlink/pause.c              |  33 ++++-
 netlink/stats.c              |  14 ++
 uapi/linux/ethtool.h         |  43 ++++++
 uapi/linux/ethtool_netlink.h |  50 +++++++
 12 files changed, 561 insertions(+), 9 deletions(-)
 create mode 100644 netlink/mm.c

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ