diff options
| author | Russell King (Oracle) <[email protected]> | 2025-07-02 09:44:24 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-08 02:02:36 +0000 |
| commit | ff1fce1bdd7b96b6e84518c277569dabbfb18c7d (patch) | |
| tree | 902c3672828cae6420bf1eb09c6f16eaae76a4ec /net/unix/af_unix.c | |
| parent | Merge branch 'introducing-broadcom-bnge-ethernet-driver' (diff) | |
| download | kernel-ff1fce1bdd7b96b6e84518c277569dabbfb18c7d.tar.gz kernel-ff1fce1bdd7b96b6e84518c277569dabbfb18c7d.zip | |
net: phylink: restrict SFP interfaces to those that are supported
When configuring an optical SFP interface, restrict the bitmap of SFP
interfaces (pl->sfp_interfaces) to those that are supported by the
host, rather than calculating this in a local variable.
This will allow us to avoid recomputing this in the
phylink_ethtool_ksettings_set() path.
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Maxime Chevallier <[email protected]>
Tested-by: Maxime Chevallier <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
