netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] net: Allow targeting specific PHYs through netlink
@ 2024-04-09 10:58 Maxime Chevallier
  2024-04-09 10:58 ` [PATCH net-next 1/8] netlink: specs: add phy-index as a header parameter Maxime Chevallier
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Maxime Chevallier @ 2024-04-09 10:58 UTC (permalink / raw)
  To: davem
  Cc: Maxime Chevallier, netdev, linux-kernel, thomas.petazzoni,
	Andrew Lunn, Jakub Kicinski, Eric Dumazet, Paolo Abeni,
	Russell King, linux-arm-kernel, Christophe Leroy, Herve Codina,
	Florian Fainelli, Heiner Kallweit, Vladimir Oltean,
	Köry Maincent, Jesse Brandeburg, Jonathan Corbet,
	Marek Behún, Piergiorgio Beruto, Oleksij Rempel,
	Nicolò Veronese, Simon Horman, mwojtas

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


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

end of thread, other threads:[~2024-04-09 18:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09 10:58 [PATCH net-next 0/8] net: Allow targeting specific PHYs through netlink Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 1/8] netlink: specs: add phy-index as a header parameter Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 2/8] net: ethtool: Introduce a command to list PHYs on an interface Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 3/8] netlink: specs: add ethnl PHY_GET command set Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 4/8] net: ethtool: plca: Target the command to the requested PHY Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 5/8] net: ethtool: pse-pd: " Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 6/8] net: ethtool: cable-test: " Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 7/8] net: ethtool: strset: Allow querying phy stats by index Maxime Chevallier
2024-04-09 10:58 ` [PATCH net-next 8/8] Documentation: networking: document phy_link_topology Maxime Chevallier
2024-04-09 18:45   ` Jakub Kicinski

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