diff options
| author | Russell King (Oracle) <[email protected]> | 2024-04-10 20:42:43 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-11 20:01:14 -0700 |
| commit | cae425cb43feddd9fd62fc1b25567f9463da4915 (patch) | |
| tree | 7643586e81d8d0f28eca234df0cae6bb8b7aebb6 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | dd0c9855b41310470086500c9963bbb64bb90dd0 (diff) | |
net: dsa: allow DSA switch drivers to provide their own phylink mac ops
Rather than having a shim for each and every phylink MAC operation,
allow DSA switch drivers to provide their own ops structure. When a
DSA driver provides the phylink MAC operations, the shimmed ops must
not be provided, so fail an attempt to register a switch with both
the phylink_mac_ops in struct dsa_switch and the phylink_mac_*
operations populated in dsa_switch_ops populated.
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[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