summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-06-17 00:06:17 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-18 02:25:19 +0300
commit7d7525876b5a7fe8d3229e8e04e78b166e5e8d75 (patch)
treeb1ca0b6f00c6dbe32f4dd7e949af5cc9a736079b /tools/perf/scripts/python/net_dropmonitor.py
parent01c559c8b99c0784e37e907a16cfb30cf2f357a8 (diff)
downloadlinux-7d7525876b5a7fe8d3229e8e04e78b166e5e8d75.tar.xz
net: stmmac: visconti: re-arrange speed decode
Re-arrange the speed decode in visconti_eth_set_clk_tx_rate() to be more readable by first checking to see if we're using RGMII or RMII and then decoding the speed, rather than decoding the speed and then testing the interface mode. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/E1uRH21-004UyG-50@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions