diff options
| author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2026-10-16 15:31:02 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-21 16:32:04 -0700 |
| commit | b06f1e6c85ba9c7c42ef7161ae35e3b2f2dbdc6c (patch) | |
| tree | 2912a9dfefceee00f9cd39ecdb0a655614544680 /scripts/Makefile.thinlto | |
| parent | 9e7cd33fafb2ce1fd6cf19fd20f486ea341e6c0c (diff) | |
| download | linux-b06f1e6c85ba9c7c42ef7161ae35e3b2f2dbdc6c.tar.gz linux-b06f1e6c85ba9c7c42ef7161ae35e3b2f2dbdc6c.zip | |
net: phy: phy_link_topology: Add a helper to retrieve ports
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.
We don't really support PHY and phy_port operation on ops-locked devices
yet, warn when we try to do so on such an interface.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Aleksei Sviridkin <f@lex.la>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Tested-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20261016133107.54054-8-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
