[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190602151534.nv4b67n5n2iermnr@shell.armlinux.org.uk>
Date: Sun, 2 Jun 2019 16:15:34 +0100
From: Russell King - ARM Linux admin <linux@...linux.org.uk>
To: Robert Hancock <hancock@...systems.ca>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: phy: phylink: add fallback from SGMII to
1000BaseX
On Fri, May 31, 2019 at 06:17:51PM -0600, Robert Hancock wrote:
> Our device is mainly intended for fiber modules, which is why 1000BaseX
> is being used. The variant of fiber modules we are using (for example,
> Finisar FCLF8520P2BTL) are set up for 1000BaseX, and seem like they are
> kind of a hack to allow using copper on devices which only support
> 1000BaseX mode (in fact that particular one is extra hacky since you
> have to disable 1000BaseX autonegotiation on the host side). This patch
> is basically intended to allow that particular case to work.
Looking at the data sheet for FCLF8520P2BTL, it explicit states:
PRODUCT SELECTION
Part Number Link Indicator 1000BASE-X auto-negotiation
on RX_LOS Pin enabled by default
FCLF8520P2BTL Yes No
FCLF8521P2BTL No Yes
FCLF8522P2BTL Yes Yes
The idea being, you buy the correct one according to what the host
equipment requires, rather than just picking one and hoping it works.
The data sheet goes on to mention that the module uses a Marvell
88e1111 PHY, which seems to be quite common for copper SFPs from
multiple manufacturers (but not all) and is very flexible in how it
can be configured.
If we detect a PHY on the SFP module, we check detect whether it is
an 88e1111 PHY, and then read out its configured link type. We don't
have a way to deal with the difference between FCLF8520P2BTL and
FCLF8521P2BTL, but at least we'll be able to tell whether we should
be in 1000Base-X mode for these modules, rather than SGMII.
For a SFP cage meant to support fiber, I would recommend using the
FCLF8521P2BTL or FCLF8522P2BTL since those will behave more like a
802.3z standards-compliant gigabit fiber connection.
--
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
Powered by blists - more mailing lists