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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230111153638.1454687-1-vladimir.oltean@nxp.com>
Date:   Wed, 11 Jan 2023 17:36:33 +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 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

This depends on kernel-level support which will be posted soon.

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                 |  57 ++++++++
 ethtool.c                    |  14 ++
 json_print.c                 |   4 +-
 netlink/desc-ethtool.c       |  29 ++++
 netlink/extapi.h             |   4 +
 netlink/mm.c                 | 270 +++++++++++++++++++++++++++++++++++
 netlink/netlink.h            |  34 +++++
 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 +++++++
 14 files changed, 553 insertions(+), 11 deletions(-)
 create mode 100644 netlink/mm.c

-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ