net: phylink: simplify SFP PHY attachment
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest0 of 3 patches 0 repliesApplied
- v10 of 3 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Fixed build warning.
- Added r-b/t-b from Maxime.
Patches in v2 Applied
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Maxime Chevallier |
|---|---|
| Series | R-b T-b R-b T-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-next v2 0/3] net: phylink: simplify SFP PHY attachment
Hi,
These two patches simplify how we attach SFP PHYs.
The first patch notices that at the two sites where we call sfp_select_interface(), if that fails, we always print the same error. Move this into its own function.
The second patch adds an additional level of validation, checking that the returned interface is one that is supported by the MAC/PCS.
The last patch simplifies how SFP PHYs are attached, reducing the number of times that we do validation in this path.
drivers/net/phy/phylink.c | 83 ++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 41 deletions(-)
Changes since v1:
- Fixed build warning.
- Added r-b/t-b from Maxime.
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!