net: fix optical SFP failures
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Andrew Lunn | Vladimir Oltean |
|---|---|---|
| Series | R-b R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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!