Skip to content

net: fix optical SFP failures

Russell King (Oracle) netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesApplied

Patches in v1 Applied

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchAndrew LunnVladimir Oltean
SeriesR-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/3] net: fix optical SFP failures

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(-)
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!