All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/3] dp83tg720: Reduce link recovery
@ 2025-06-10  8:10 Oleksij Rempel
  2025-06-10  8:10 ` [PATCH net-next v1 1/3] net: phy: dp83tg720: implement soft reset with asymmetric delay Oleksij Rempel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Oleksij Rempel @ 2025-06-10  8:10 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 | 179 ++++++++++++++++++++++++------------
 1 file changed, 120 insertions(+), 59 deletions(-)

--
2.39.5


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

end of thread, other threads:[~2025-06-10 13:02 UTC | newest]

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

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.