| Date | Sat, 6 Apr 2024 17:58:41 +0200 | From | Andrew Lunn <> | Subject | Re: [PATCH net-next v11 07/13] net: ethtool: Introduce a command to list PHYs on an interface |
| |
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@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@lunn.ch>
Andrew
|