[PATCH net-next v11 07/13] net: ethtool: Introduce a command to list PHYs on an interface

Andrew Lunn andrew at lunn.ch
Sat Apr 6 08:58:41 PDT 2024


On Thu, Apr 04, 2024 at 11:29:57AM +0200, Maxime Chevallier wrote:
> As we have the ability to track the PHYs connected to a net_device
> through the link_topology, we can expose this list to userspace. This
> allows userspace to use these identifiers for phy-specific commands and
> take the decision of which PHY to target by knowing the link topology.
> 
> Add PHY_GET and PHY_DUMP, which can be a filtered DUMP operation to list
> devices on only one interface.
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>

It would be good if Jakub reviewed this as well, since i don't know
netlink too well. But:

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew



More information about the linux-arm-kernel mailing list