aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2024-10-01 17:04:36 +0100
committerJakub Kicinski <[email protected]>2024-10-02 17:32:00 -0700
commita18891b55703a45b700618ef40edd5e9aaecc345 (patch)
tree8d605e380ccbd53874810448c9d83bf63e93774f /tools/perf/scripts/python
parent155c499ffd1d0d49b6303736a8b42bb941ff1096 (diff)
net: dsa: sja1105: simplify static configuration reload
The static configuration reload saves the port speed in the static configuration tables by first converting it from the internal respresentation to the SPEED_xxx ethtool representation, and then converts it back to restore the setting. This is because sja1105_adjust_port_config() takes the speed as SPEED_xxx. However, this is unnecessarily complex. If we split sja1105_adjust_port_config() up, we can simply save and restore the mac[port].speed member in the static configuration tables. Signed-off-by: Russell King (Oracle) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions