aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-05-18 15:54:47 +0100
committerJakub Kicinski <kuba@kernel.org>2022-05-19 18:14:29 -0700
commit7da3f901f8ecb425105fad39a0f5de73306abe52 (patch)
treef1aa8f9c5f2a3913952bfd72ee36f1f6b9f0e99c /tools/perf/scripts/python
parentnet: mtk_eth_soc: add mask and update PCS speed definitions (diff)
downloadlinux-7da3f901f8ecb425105fad39a0f5de73306abe52.tar.gz
linux-7da3f901f8ecb425105fad39a0f5de73306abe52.zip
net: mtk_eth_soc: correct 802.3z speed setting
Phylink does not guarantee that state->speed will be set correctly in the mac_config() call, so it's a bug that the driver makes use of it. Moreover, it is making use of it in a function that is only ever called for 1000BASE-X and 2500BASE-X which operate at a fixed speed which happens to be the same setting irrespective of the interface mode. We can simply remove the switch statement and just set the SGMII interface speed. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions