aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy-core.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2022-01-31 11:29:13 +0000
committerDavid S. Miller <davem@davemloft.net>2022-01-31 11:29:13 +0000
commitfe8930278c6b9bc1bcaa1736706465da8637ff6c (patch)
treece7222aed80d444ba6a7059e66d67842b69fb47d /drivers/net/phy/phy-core.c
parentnet: bonding: Add support for IPV6 ns/na to balance-alb/balance-tlb mode (diff)
parentnet: dsa: mv88e6xxx: Improve indirect addressing performance (diff)
downloadlinux-dev-fe8930278c6b9bc1bcaa1736706465da8637ff6c.tar.xz
linux-dev-fe8930278c6b9bc1bcaa1736706465da8637ff6c.zip
Merge branch 'dsa-mv88e6xxx-Improve-indirect-addressing-performance'
Tobias Waldekranz says: ==================== net: dsa: mv88e6xxx: Improve indirect addressing performance The individual patches have all the details. This work was triggered by recent work on a platform that took 16s (sic) to load the mv88e6xxx module. The first patch gets rid of most of that time by replacing a very long delay with a tighter poll loop to wait for the busy bit to clear. The second patch shaves off some more time by avoiding redundant busy-bit-checks, saving 1 out of 4 MDIO operations for every register read/write in the optimal case. v1 -> v2: - Make sure that we always poll the busy bit at least twice, in the unlikely event that the first one is quick to query the hardware, but is then scheduled out for a long time before the timeout is checked. v2 -> v3: - Fallback to the longer sleeps after the initial two poll attempts. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy-core.c')
0 files changed, 0 insertions, 0 deletions