diff options
author | Russell King (Oracle) <[email protected]> | 2024-10-23 14:41:51 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-29 11:57:31 -0700 |
commit | 41caa7e81b9732a10d523ed6ac57bd67f56494bf (patch) | |
tree | 35a67496381c7bf1bef6aa050ff00e00cacf6791 /tools/perf/scripts/python/netdev-times.py | |
parent | 280ed44982ff478a949a810f9ddfb4adb8207b57 (diff) |
net: phylink: validate sfp_select_interface() returned interface
Validate that the returned interface from sfp_select_interface() is
supportable by the MAC/PCS. If it isn't, print an error and return
the NA interface type. This is a preparatory step to reorganising
how a PHY on a SFP module is handled.
Reviewed-by: Maxime Chevallier <[email protected]>
Tested-by: Maxime Chevallier <[email protected]>
Signed-off-by: Russell King (Oracle) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions