netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] Use PHYlib for reset randomization and adjustable polling
@ 2025-02-06  9:39 Oleksij Rempel
  2025-02-06  9:39 ` [PATCH net-next v3 1/2] net: phy: Add support for driver-specific next update time Oleksij Rempel
  2025-02-06  9:39 ` [PATCH net-next v3 2/2] net: phy: dp83tg720: Add randomized polling intervals for unstable link detection Oleksij Rempel
  0 siblings, 2 replies; 6+ messages in thread
From: Oleksij Rempel @ 2025-02-06  9:39 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

Hi all,

This patch set tackles a DP83TG720 reset lock issue and improves PHY
polling. Rather than adding a separate polling worker to randomize PHY
resets, I chose to extend the PHYlib framework - which already handles
most of the needed functionality - with adjustable polling. This
approach not only addresses the DP83TG720-specific problem (where
synchronized resets can lock the link) but also lays the groundwork for
optimizing PHY stats polling across all PHY drivers. With generic PHY
stats coming in, we can adjust the polling interval based on hardware
characteristics, such as using longer intervals for PHYs with stable HW
counters or shorter ones for high-speed links prone to counter
overflows.

Patch version changes are tracked in separate patches.

Oleksij Rempel (2):
  net: phy: Add support for driver-specific next update time
  net: phy: dp83tg720: Add randomized polling intervals for unstable
    link detection

 drivers/net/phy/dp83tg720.c | 75 +++++++++++++++++++++++++++++++++++++
 drivers/net/phy/phy.c       | 20 +++++++++-
 include/linux/phy.h         | 13 +++++++
 3 files changed, 107 insertions(+), 1 deletion(-)

--
2.39.5


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

end of thread, other threads:[~2025-02-09 23:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-06  9:39 [PATCH net-next v3 0/2] Use PHYlib for reset randomization and adjustable polling Oleksij Rempel
2025-02-06  9:39 ` [PATCH net-next v3 1/2] net: phy: Add support for driver-specific next update time Oleksij Rempel
2025-02-08  0:31   ` Jakub Kicinski
2025-02-09 23:33   ` Andrew Lunn
2025-02-06  9:39 ` [PATCH net-next v3 2/2] net: phy: dp83tg720: Add randomized polling intervals for unstable link detection Oleksij Rempel
2025-02-08  0:34   ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).