[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aFABfaQywj1GOQiv@shell.armlinux.org.uk>
Date: Mon, 16 Jun 2025 12:35:25 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Leon Romanovsky <leon@...nel.org>
Cc: Andrew Lunn <andrew@...n.ch>,
Alexander Duyck <alexander.duyck@...il.com>, netdev@...r.kernel.org,
hkallweit1@...il.com, davem@...emloft.net, pabeni@...hat.com,
kuba@...nel.org, Jiri Pirko <jiri@...dia.com>
Subject: Re: [net-next PATCH 0/6] Add support for 25G, 50G, and 100G to fbnic
On Mon, Jun 16, 2025 at 01:33:27PM +0300, Leon Romanovsky wrote:
> On Fri, Jun 13, 2025 at 11:43:58PM +0100, Russell King (Oracle) wrote:
> > On Fri, Jun 13, 2025 at 07:00:24PM +0300, Leon Romanovsky wrote:
> > > Excellent, like you said, no one needs this code except fbnic, which is
> > > exactly as was agreed - no core in/out API changes special for fbnic.
> >
> > Rather than getting all religious about this, I'd prefer to ask a
> > different question.
> >
> > Is it useful to add 50GBASER, LAUI and 100GBASEP PHY interface modes,
> > and would anyone else use them? That's the real question here, and
> > *not* whomever is submitting the patches or who is the first user.
>
> Right now, the answer is no. There are no available devices in the
> market which implement it.
That's strictly your own opinion, I doubt it's based on facts.
LX2160A supports:
50GBASE-R/CAUI-2(C2C/C2M) and
100GBASE-R/CAUI-4(C2C/C2M)
modes. These are two and four lanes respectively. These date from
before clauses were added to IEEE 802.3 for these speeds, and are based
on the 25/50G Specification Rev 1.6.
https://ethernettechnologyconsortium.org/wp-content/uploads/2020/03/25G-50G-Specification-FINAL.pdf
This is 2.0 but the revision list indicates no changes since rev 1.6.
This specification states that 50GBASE-R is based upon 802.3 clause 82
operating at an overall rate of 50Gb/s, each lane operates at 25.78125GHz
with MLD4 bonding. The other references that contain 50GBASE-R are
50GBASE-R2, which indicates that it is two lanes. FEC is optional, and
may be clause 74 or 91. This is what the LX2160A implements, but I
believe without FEC - two lanes operating at this speed. The LX2160A
was initially designed as a TOR SoC.
We now need to compare this to what is being proposed, and what is now
present in 802.3 as referenced by the new modes.
Now, the definition of PHY_INTERFACE_MODE_50GBASER from Meta says that
it's "50GBase-R - with Clause 134 FEC". Let's first dive into clause 134.
This clause states that it is RS-FEC based on clause 91 but with
modifications to support operation for 50G. So this doesn't tie up with
LX2160A.
Next, let's look at PHY_INTERFACE_MODE_LAUI from Meta, and the
clarification is that it's LAUI-2 in IEEE 802.3. Clause 133 defines the
PCS. Clause 135 defines the PMA for 50GBASE-R and refers to LAUI-2 in
annex 135B. From annex 135B, LAUI-2 uses NRZ signalling over two lanes
at 25.78125GBd. This matches what's implemented by the LX2160A.
So there we have it - we have an embedded SoC that implements at least
one of the definitions that Meta have in this patch.
This disagrees with your assertion "There are no available devices in
the market which implement it."
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists