diff options
| author | 2026-10-16 15:30:56 +0200 | |
|---|---|---|
| committer | 2026-10-21 16:32:03 -0700 | |
| commit | b428d67934b5949c397cff7c102c345975dd2eb9 (patch) | |
| tree | 7f7e1c6fc2d96802a88bb87dc20542edbf7a96f5 /scripts/Makefile.thinlto | |
| parent | net: dsa: motorcomm: Extend ACL with UDF (diff) | |
net: phy: phy_link_topology: Add a helper for opportunistic alloc
The phy_link_topology structure stores information about the PHY-related
components connected to a net_device. It is opportunistically allocated,
when we add the first item to the topology, as this is not relevant for
all kinds of net_devices.
In preparation for the addition of phy_port tracking in the topology,
let's make a dedicated helper for that allocation sequence.
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-2-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
