Re: [PATCH net-next v10 7/9] net: phy: phy_link_topology: Add a helper to retrieve ports

From: Andrew Lunn

Date: Thu May 14 2026 - 10:01:12 EST


On Wed, May 13, 2026 at 03:05:18PM +0200, Maxime Chevallier wrote:
> In order to allow netlink access to phy_ports, let's add a helper to
> retrieve them. When handling a port coming from phy_link_topology, the
> caller must hold rtnl until it's done with it.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew