diff options
author | 2024-10-23 14:41:51 +0100 | |
---|---|---|
committer | 2024-10-29 11:57:31 -0700 | |
commit | 41caa7e81b9732a10d523ed6ac57bd67f56494bf (patch) | |
tree | 35a67496381c7bf1bef6aa050ff00e00cacf6791 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: phylink: add common validation for sfp_select_interface() (diff) | |
download | wireguard-linux-41caa7e81b9732a10d523ed6ac57bd67f56494bf.tar.xz wireguard-linux-41caa7e81b9732a10d523ed6ac57bd67f56494bf.zip |
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 <maxime.chevallier@bootlin.com>
Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1t3bcV-000c8B-Vz@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions