netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: phylink: support !autoneg configuration for SFPs
@ 2025-07-02  9:44 Russell King (Oracle)
  2025-07-02  9:44 ` [PATCH net-next 1/3] net: phylink: restrict SFP interfaces to those that are supported Russell King (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Russell King (Oracle) @ 2025-07-02  9:44 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit
  Cc: Alexander Duyck, David S. Miller, Eric Dumazet, Jakub Kicinski,
	netdev, Paolo Abeni

This series comes from discussion during a patch series that was posted
at the beginning of April, but these patches were never posted (I was
too busy!)

We restrict ->sfp_interfaces to those that the host system supports,
and ensure that ->sfp_interfaces is cleared when a SFP is removed. We
then add phylink_sfp_select_interface_speed() which will select an
appropriate interface from ->sfp_interfaces for the speed, and use that
in our phylink_ethtool_ksettings_set() when a SFP bus is present on a
directly connected host (not with a PHY.)

 drivers/net/phy/phylink.c | 60 ++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 54 insertions(+), 6 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] 18+ messages in thread

end of thread, other threads:[~2025-07-10 20:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02  9:44 [PATCH net-next 0/3] net: phylink: support !autoneg configuration for SFPs Russell King (Oracle)
2025-07-02  9:44 ` [PATCH net-next 1/3] net: phylink: restrict SFP interfaces to those that are supported Russell King (Oracle)
2025-07-02 13:11   ` Maxime Chevallier
2025-07-02  9:44 ` [PATCH net-next 2/3] net: phylink: clear SFP interfaces when not in use Russell King (Oracle)
2025-07-02 13:12   ` Maxime Chevallier
2025-07-02  9:44 ` [PATCH net-next 3/3] net: phylink: add phylink_sfp_select_interface_speed() Russell King (Oracle)
2025-07-02 13:14   ` Maxime Chevallier
2025-07-02 13:37     ` Russell King (Oracle)
2025-07-02 18:07       ` Alexander Duyck
2025-07-02 19:17         ` Russell King (Oracle)
2025-07-09 15:37           ` Alexander Duyck
2025-07-09 15:49             ` Russell King (Oracle)
2025-07-09 17:40               ` Alexander Duyck
2025-07-09 15:54             ` Andrew Lunn
2025-07-10 17:22               ` Alexander Duyck
2025-07-10 18:35                 ` Russell King (Oracle)
2025-07-10 20:44                   ` Alexander Duyck
2025-07-08  2:10 ` [PATCH net-next 0/3] net: phylink: support !autoneg configuration for SFPs 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).