diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-01-07 03:26:16 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-07 03:26:17 +0300 |
commit | 7c7ea7056aaac4f0a70dadd25b093da6ed7e6e05 (patch) | |
tree | d2567ee253a9063e49dbb8b501a573a64189fb48 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4475d56145f368d065b05da3a5599d5620ca9408 (diff) | |
parent | 2410719cdd49d9b062e87dddaf5ec990edafc6e3 (diff) | |
download | linux-7c7ea7056aaac4f0a70dadd25b093da6ed7e6e05.tar.xz |
Merge branch 'net-pcs-add-supported_interfaces-bitmap-for-pcs'
Russell King says:
====================
net: pcs: add supported_interfaces bitmap for PCS
This series adds supported_interfaces for PCS, which gives MAC code
a way to determine the interface modes that the PCS supports without
having to implement functions such as xpcs_get_interfaces(), or
workarounds such as in
https://lore.kernel.org/20241213090526.71516-3-maxime.chevallier@bootlin.com
Patch 1 adds the new bitmask to struct phylink_pcs, and code within
phylink to validate that the PCS returned by the MAC driver supports
the interface mode - but only if this bitmask is non-empty.
Patch 2 through 4 fills in the interface modes for XPCS, Mediatek LynxI
and Lynx PCS.
Patch 5 adds support to stmmac to make use of this bitmask when filling
in phylink_config.supported_interfaces, eliminating the call to
xpcs_get_interfaces.
As xpcs_get_interfaces() is now unused outside of pcs-xpcs.c, patch 6
makes this function static and removes it from the header file.
====================
Link: https://patch.msgid.link/Z3fG9oTY9F9fCYHv@shell.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions