diff options
author | 2022-01-26 10:25:55 +0000 | |
---|---|---|
committer | 2022-01-26 11:20:37 +0000 | |
commit | be6ec5b7026620b931e0fa9287d24ad2cd2ab9b6 (patch) | |
tree | 1bac086e5fa55151df980b32b11f958377cd0e76 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'mlxsw-RJ45' (diff) | |
download | linux-dev-be6ec5b7026620b931e0fa9287d24ad2cd2ab9b6.tar.xz linux-dev-be6ec5b7026620b931e0fa9287d24ad2cd2ab9b6.zip |
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 <vee.khee.wong@linux.intel.com> # Intel EHL Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions