diff options
| author | Maxime Chevallier <[email protected]> | 2025-03-07 17:36:10 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-18 08:03:12 +0000 |
| commit | 3bd87f3b4405cefa12b6be7ebf75a021cac4738a (patch) | |
| tree | 5da55d75e49ab0d09f1e68c2c9a09ca5ff0274f7 /drivers/net/ipvlan/ipvlan_main.c | |
| parent | net: phylink: Convert capabilities to linkmodes using phy_caps (diff) | |
| download | kernel-3bd87f3b4405cefa12b6be7ebf75a021cac4738a.tar.gz kernel-3bd87f3b4405cefa12b6be7ebf75a021cac4738a.zip | |
net: phylink: Use phy_caps to get an interface's capabilities and modes
Phylink has internal code to get the MAC capabilities of a given PHY
interface (what are the supported speed and duplex).
Extract that into phy_caps, but use the link_capa for conversion. Add an
internal phylink helper for the link caps -> mac caps conversion, and
use this in phylink_caps_to_linkmodes().
Signed-off-by: Maxime Chevallier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
0 files changed, 0 insertions, 0 deletions
