netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/3] net: fix optical SFP failures
@ 2025-08-31 17:34 Russell King (Oracle)
  2025-08-31 17:34 ` [PATCH net 1/3] net: phy: add phy_interface_weight() Russell King (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Russell King (Oracle) @ 2025-08-31 17:34 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Mathew McBride,
	netdev, Paolo Abeni

Hi,

A regression was reported back in April concerning pcs-lynx and 10G
optical SFPs. This patch series addresses that regression, and likely
similar unreported regressions.

These patches:
- Add phy_interface_weight() which will be used in the solution.
- Split out the code that determines the inband "type" for an
  interface mode.
- Clear the Autoneg bit in the advertising mask, or the Autoneg bit
  in the support mask and the entire advertising mask if the selected
  interface mode has no inband capabilties.

Tested with the mvpp2 patch posted earlier today.

 drivers/net/phy/phylink.c | 97 ++++++++++++++++++++++++++++++-----------------
 include/linux/phy.h       |  5 +++
 2 files changed, 67 insertions(+), 35 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-31 17:34 [PATCH net 0/3] net: fix optical SFP failures Russell King (Oracle)
2025-08-31 17:34 ` [PATCH net 1/3] net: phy: add phy_interface_weight() Russell King (Oracle)
2025-09-02 21:51   ` Andrew Lunn
2025-08-31 17:34 ` [PATCH net 2/3] net: phylink: provide phylink_get_inband_type() Russell King (Oracle)
2025-09-02 21:52   ` Andrew Lunn
2025-08-31 17:34 ` [PATCH net 3/3] net: phylink: disable autoneg for interfaces that have no inband Russell King (Oracle)
2025-09-02 22:51   ` Vladimir Oltean
2025-09-02 23:30 ` [PATCH net 0/3] net: fix optical SFP failures patchwork-bot+netdevbpf

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).