Re: [PATCH net-next] net: sfp: add quirk for OEM DFP-34X-2C2 GPON ONU SFP

From: Sergio Palumbo
Date: Thu Feb 08 2024 - 12:22:12 EST


Hi Russell,
GPON modules we are talking about are all ONT/ONU and all the ONT ONU are configured by OLT unless you have a modded firmware.
ODI DFP-34X-2C2 is an ONT/ONU.
https://hack-gpon.org/ont-huawei-ma5671a/
https://hack-gpon.org/ont-fs-com-gpon-onu-stick-with-mac/
https://hack-gpon.org/ont-odi-realtek-dfp-34x-2c2/

I think the discussion on LAN_SDS_MODE=1 or LAN_SDS_MODE=6, started by me is not part of the problem as the system after the quirk is working at 2500-X with both settings. My fault!
The problem for these kind of modules is simply that they are not showing up at 2500-X because EEPROM or Virtual EEPROM (in case of MA5671A) failure to provide the correct speed to the linux driver.

Huawei MA5671A and Fiberstone GPON-ONU-34-20BI require:
"sfp_quirk_2500basex" and "sfp_fixup_ignore_tx_fault" quirks
ODI DFP-34X-2C2
only require "sfp_quirk_2500basex"

Hope this may help.

Regards

Sergio Palumbo














Il 08/02/2024 17:28, Russell King (Oracle) ha scritto:
On Thu, Feb 08, 2024 at 05:19:24PM +0100, Sergio Palumbo wrote:
Dear Russell,
I understand your point, but I think ODI DFP-34X-2C2 situation is quite
similar to:
FS GPON-INU-34-20BI
HUAWEI MA5671A
MA5671A is configured by the OLT. The user can't configure it.