net: Allow targeting specific PHYs through netlink
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | netlink: specs: add phy-index as a header parameterDocumentation/ | +3 | 0 replies | |
| 2/8 | net: ethtool: Introduce a command to list PHYs on an interfaceDocumentation/ include/ net/ +3 more | +377 | 0 replies | |
| 3/8 | netlink: specs: add ethnl PHY_GET command setDocumentation/ | +59 | 0 replies | |
| 4/8 | net: ethtool: plca: Target the command to the requested PHYnet/ | +9 | 0 replies | |
| 5/8 | net: ethtool: pse-pd: Target the command to the requested PHYnet/ | +5 | 0 replies | |
| 6/8 | net: ethtool: cable-test: Target the command to the requested PHYnet/ | +8 | 0 replies | |
| 7/8 | net: ethtool: strset: Allow querying phy stats by indexnet/ | +9 | 0 replies | |
| 8/8 | Documentation: networking: document phy_link_topologyDocumentation/ Documentation/ Documentation/ | +124 | 1 reply |
Reviews trailers per patch
7 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/8] net: Allow targeting specific PHYs through netlink
Hi everyone,
This series is a resend of the las 8 patches of the link_topology series:
https://lore.kernel.org/netdev/[email protected]/
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
Signature · 1 line
2.44.0