diff options
author | Russell King (Oracle) <[email protected]> | 2022-01-26 10:25:55 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-26 11:20:37 +0000 |
commit | be6ec5b7026620b931e0fa9287d24ad2cd2ab9b6 (patch) | |
tree | 1bac086e5fa55151df980b32b11f958377cd0e76 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3cade91d0e1817e7cf62943525c7b6fe15ff8f1b (diff) |
net: xpcs: add support for retrieving supported interface modes
Add a function to the xpcs driver to retrieve the supported PHY
interface modes, which can be used by drivers to fill in phylink's
supported_interfaces mask.
We validate the interface bit index to ensure that it fits within the
bitmap as xpcs lists PHY_INTERFACE_MODE_MAX in an entry.
Tested-by: Wong Vee Khee <[email protected]> # Intel EHL Signed-off-by: Russell King (Oracle) <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions