aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2023-11-24 12:27:52 +0000
committerJakub Kicinski <[email protected]>2023-11-27 18:04:11 -0800
commit243ad8df7a1bd24c2e01bd99d9f0bb88844dae91 (patch)
tree56d2a48a96f945398cc1d6d91b2059481d6348a3 /tools/perf/scripts/python/export-to-sqlite.py
parente1df5202e879bce09845ac62bae30206e1edfb80 (diff)
net: phy: add possible interfaces
Add a possible_interfaces member to struct phy_device to indicate which interfaces a clause 45 PHY may switch between depending on the media. This must be populated by the PHY driver by the time the .config_init() method completes according to the PHYs host-side configuration. For example, the Marvell 88x3310 PHY can switch between 10GBASE-R, 5GBASE-R, 2500BASE-X, and SGMII on the host side depending on the media side speed, so all these interface modes are set in the possible_interfaces member. This allows phylib users (such as phylink) to know in advance which interface modes to expect, which allows them to appropriately restrict the advertised link modes according to the capabilities of other parts of the link. Tested-by: Luo Jie <[email protected]> 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions