diff options
author | Russell King (Oracle) <[email protected]> | 2023-05-20 11:41:42 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-05-22 19:07:42 -0700 |
commit | de5c9bf40c4582729f64f66d9cf4920d50beb897 (patch) | |
tree | 7825b4dfb98c6a718f4231250402d0ba21e7e6ef /tools/perf/scripts/python/libxed.py | |
parent | 5859a99b52254be356d3cca2e40f7f371ef24b0a (diff) |
net: phylink: require supported_interfaces to be filled
We have been requiring the supported_interfaces bitmap to be filled in
by MAC drivers that have a mac_select_pcs() method. Now that all MAC
drivers fill in the supported_interfaces bitmap, it is time to enforce
this. We have already required supported_interfaces to be set in order
for optical SFPs to be configured in commit f81fa96d8a6c ("net: phylink:
use phy_interface_t bitmaps for optical modules").
Refuse phylink creation if supported_interfaces is empty, and remove
code to deal with cases where this mask is empty.
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions