[PATCH net-next 0/8] net: Allow targeting specific PHYs through netlink
Maxime Chevallier
maxime.chevallier at bootlin.com
Tue Apr 9 03:58:38 PDT 2024
Hi everyone,
This series is a resend of the las 8 patches of the link_topology series:
https://lore.kernel.org/netdev/20240404093004.2552221-1-maxime.chevallier@bootlin.com/
There were a some conflicts on the netlink specs, which I guess made the
series fail to apply.
All patches of this series allow accessing and using the PHYs from the
topology through netlink commands such as PLCA, PSE-PD, Cable testing
and strsets, and introduces a dedicated command to list said PHYs.
This re-send is simply rebased on net-next, with the addition of
Andrew's Reviewed-by tags.
Thanks,
Maxime
Maxime Chevallier (8):
netlink: specs: add phy-index as a header parameter
net: ethtool: Introduce a command to list PHYs on an interface
netlink: specs: add ethnl PHY_GET command set
net: ethtool: plca: Target the command to the requested PHY
net: ethtool: pse-pd: Target the command to the requested PHY
net: ethtool: cable-test: Target the command to the requested PHY
net: ethtool: strset: Allow querying phy stats by index
Documentation: networking: document phy_link_topology
Documentation/netlink/specs/ethtool.yaml | 62 ++++
Documentation/networking/ethtool-netlink.rst | 45 +++
Documentation/networking/index.rst | 1 +
.../networking/phy-link-topology.rst | 120 +++++++
include/uapi/linux/ethtool_netlink.h | 20 ++
net/ethtool/Makefile | 2 +-
net/ethtool/cabletest.c | 16 +-
net/ethtool/netlink.c | 9 +
net/ethtool/netlink.h | 5 +
net/ethtool/phy.c | 300 ++++++++++++++++++
net/ethtool/plca.c | 19 +-
net/ethtool/pse-pd.c | 13 +-
net/ethtool/strset.c | 17 +-
13 files changed, 594 insertions(+), 35 deletions(-)
create mode 100644 Documentation/networking/phy-link-topology.rst
create mode 100644 net/ethtool/phy.c
--
2.44.0
More information about the linux-arm-kernel
mailing list