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

From: Andrew Lunn
Date: Sat Apr 06 2024 - 11:58:57 EST


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@xxxxxxxxxxx>

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

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew