All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] Add rudimentary SFP module quirk support
@ 2019-11-20 11:39 Russell King - ARM Linux admin
  2019-11-20 11:42 ` [PATCH net-next 1/2] net: sfp: add support for module quirks Russell King
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Russell King - ARM Linux admin @ 2019-11-20 11:39 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Heiner Kallweit; +Cc: David S. Miller, netdev

The SFP module EEPROM describes the capabilities of the module, but
doesn't describe the host interface.  We have a certain amount of
guess-work to work out how to configure the host - which works most
of the time.

However, there are some (such as GPON) modules which are able to
support different host interfaces, such as 1000BASE-X and 2500BASE-X.
The module will switch between each mode until it achieves link with
the host.

There is no defined way to describe this in the SFP EEPROM, so we can
only recognise the module and handle it appropriately.  This series
adds the necessary recognition of the modules using a quirk system,
and tweaks the support mask to allow them to link with the host at
2500BASE-X, thereby allowing the user to achieve full line rate.

 drivers/net/phy/sfp-bus.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

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

end of thread, other threads:[~2019-11-21  9:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 11:39 [PATCH net-next 0/2] Add rudimentary SFP module quirk support Russell King - ARM Linux admin
2019-11-20 11:42 ` [PATCH net-next 1/2] net: sfp: add support for module quirks Russell King
2019-11-21  2:24   ` Andrew Lunn
2019-11-21  9:11     ` Russell King - ARM Linux admin
2019-11-21  3:46   ` Florian Fainelli
2019-11-20 11:42 ` [PATCH net-next 2/2] net: sfp: add some quirks for GPON modules Russell King
2019-11-20 22:46   ` Jakub Kicinski
2019-11-21  0:03     ` Russell King - ARM Linux admin
2019-11-21  0:14       ` Jakub Kicinski
2019-11-21  2:26   ` Andrew Lunn
2019-11-21  3:46   ` Florian Fainelli
2019-11-21  2:28 ` [PATCH net-next 0/2] Add rudimentary SFP module quirk support Andrew Lunn
2019-11-21  6:29 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.