aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-10-01 17:04:36 +0100
committerJakub Kicinski <kuba@kernel.org>2024-10-02 17:32:00 -0700
commita18891b55703a45b700618ef40edd5e9aaecc345 (patch)
tree8d605e380ccbd53874810448c9d83bf63e93774f /tools/perf/scripts/python/export-to-postgresql.py
parentnet: wangxun: txgbe: use phylink_pcs internally (diff)
downloadwireguard-linux-a18891b55703a45b700618ef40edd5e9aaecc345.tar.xz
wireguard-linux-a18891b55703a45b700618ef40edd5e9aaecc345.zip
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) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1svfMa-005ZIX-If@rmk-PC.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