Re: [PATCH net-next v17 07/10] net: phy: phy_link_topology: Add a helper to retrieve ports
From: Andrew Lunn
Date: Fri Sep 25 2026 - 18:39:10 EST
On Wed, Sep 09, 2026 at 11:39:08AM +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