Re: [PATCH RFC net-next v2 2/2] net: sfp: support 25G long-range modules (extended compliance code 0x3)

From: Russell King (Oracle)
Date: Fri Jan 02 2026 - 07:49:24 EST


On Thu, Jan 01, 2026 at 06:05:39PM +0200, Josua Mayer wrote:
> The extended compliance code value SFF8024_ECC_100GBASE_ER4_25GBASE_ER
> (0x3) means either 4-lane 100G or single lane 25G.
>
> Set 25000baseSR_Full mode supported in addition to the already set
> 100000baseLR4_ER4_Full.
>
> This is slightly wrong considering 25000baseSR_Full is short-range but
> the compliance code means long range.
>
> Unfortunately ethtool.h does not (currently) provide a bit for 25G
> long-range modules.
> Should it be added?
> Are there any reasons to not have long-range variants?

Good questions, not something I can answer though.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!