All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] dp83tg720: Reduce link recovery
@ 2025-06-12 10:41 Oleksij Rempel
  2025-06-12 10:41 ` [PATCH net-next v2 1/3] net: phy: dp83tg720: implement soft reset with asymmetric delay Oleksij Rempel
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Oleksij Rempel @ 2025-06-12 10:41 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Oleksij Rempel, kernel, linux-kernel, netdev

This patch series improves the link recovery behavior of the TI
DP83TG720 PHY driver.

Previously, we introduced randomized reset delay logic to avoid reset
collisions in multi-PHY setups. While this approach was functional, it
had notable drawbacks: unpredictable behavior, longer and more variable
link recovery times, and overall higher complexity in link handling.

With this new approach, we replace the randomized delay with
deterministic, role-specific delays in the PHY reset logic. This enables
us to:
- Remove the redundant empirical 600 ms delay in read_status()
- Drop the random polling interval logic
- Introduce a clean, adaptive polling strategy with consistent
behavior and improved responsiveness

As a result, the PHY is now able to recover link reliably in under
1000 ms

David Jander (3):
  net: phy: dp83tg720: implement soft reset with asymmetric delay
  net: phy: dp83tg720: remove redundant 600ms post-reset delay
  net: phy: dp83tg720: switch to adaptive polling and remove random
    delays

 drivers/net/phy/dp83tg720.c | 185 ++++++++++++++++++++++++------------
 1 file changed, 126 insertions(+), 59 deletions(-)

--
2.39.5


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-06-14  1:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12 10:41 [PATCH net-next v2 0/3] dp83tg720: Reduce link recovery Oleksij Rempel
2025-06-12 10:41 ` [PATCH net-next v2 1/3] net: phy: dp83tg720: implement soft reset with asymmetric delay Oleksij Rempel
2025-06-12 15:33   ` Andrew Lunn
2025-06-12 10:41 ` [PATCH net-next v2 2/3] net: phy: dp83tg720: remove redundant 600ms post-reset delay Oleksij Rempel
2025-06-12 15:34   ` Andrew Lunn
2025-06-12 10:41 ` [PATCH net-next v2 3/3] net: phy: dp83tg720: switch to adaptive polling and remove random delays Oleksij Rempel
2025-06-12 15:34   ` Andrew Lunn
2025-06-14  1:20 ` [PATCH net-next v2 0/3] dp83tg720: Reduce link recovery patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.