Skip to contentSkip to conversation

net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI

PATCH Applied Christian Marangi 4 participants 7 messages Sep 19, 2023 – Sep 28, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI

Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd NRZ in their EEPROM.

The module also require the ignore tx fault fixup similar to Huawei MA5671A as it gets disabled on error messages with serial redirection enabled.

---
 drivers/net/phy/sfp.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/net/phy/sfp.c +5 -0
index 4ecfac227865..a50038a45250 100644
@@ -452,6 +452,11 @@ static const struct sfp_quirk sfp_quirks[] = {
 	// Rollball protocol to talk to the PHY.
 	SFP_QUIRK_F("FS", "SFP-10G-T", sfp_fixup_fs_10gt),
 
+	// Fiberstore GPON-ONU-34-20BI can operate at 2500base-X, but report 1.2GBd
+	// NRZ in their EEPROM
+	SFP_QUIRK("FS", "GPON-ONU-34-20BI", sfp_quirk_2500basex,
+		  sfp_fixup_ignore_tx_fault),
+
 	SFP_QUIRK_F("HALNy", "HL-GSFP", sfp_fixup_halny_gsfp),
 
 	// HG MXPD-483II-F 2.5G supports 2500Base-X, but incorrectly reports
Signature · 1 line
2.40.1
#1 lore raw
Quoted 5 lines · Christian Marangi

Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd NRZ in their EEPROM.

The module also require the ignore tx fault fixup similar to Huawei MA5671A as it gets disabled on error messages with serial redirection enabled.

I'll send you shortly a different approach for the "ignore tx fault" thing that I'd like you to test please.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
maintainer
#2 lore raw

Hi Russel,

Quoted 9 lines · Russell King (Oracle)
Quoted 5 lines · Christian Marangi

Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd NRZ in their EEPROM.

The module also require the ignore tx fault fixup similar to Huawei MA5671A as it gets disabled on error messages with serial redirection enabled.

I'll send you shortly a different approach for the "ignore tx fault" thing that I'd like you to test please.

Said patch is not blocking this one, am I correct?

Thanks,

Paolo

#3 lore raw
Quoted 7 lines · Paolo Abeni

Hi Russel,

Quoted 4 lines · Russell King (Oracle)
Quoted 3 lines · Christian Marangi

Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd NRZ in their EEPROM.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

The module also require the ignore tx fault fixup similar to Huawei MA5671A as it gets disabled on error messages with serial redirection enabled.

I'll send you shortly a different approach for the "ignore tx fault" thing that I'd like you to test please.

Said patch is not blocking this one, am I correct?

Correct, but Christian has not responded in any way despite me sending him the patch that I'd like tested, which is very disappointing.

This is what I fear - that merging his patch removes the incentive to test my patch. Oh well, I guess I will just send my patch that I can't test to be merged anyway, and to hell with it. If it breaks this and other modules, I'm sure someone will eventually send a report about that.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
#4 lore raw
Quoted 11 lines · Russell King (Oracle)
Quoted 10 lines · Paolo Abeni

Hi Russel,

Quoted 7 lines · Russell King (Oracle)
Quoted 5 lines · Christian Marangi

Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd NRZ in their EEPROM.

The module also require the ignore tx fault fixup similar to Huawei MA5671A as it gets disabled on error messages with serial redirection enabled.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

I'll send you shortly a different approach for the "ignore tx fault" thing that I'd like you to test please.

Said patch is not blocking this one, am I correct?

Correct, but Christian has not responded in any way despite me sending him the patch that I'd like tested, which is very disappointing.

I'm with you with the disappointment... I was helping a guy adding support for this upstream and then magically disappeared... Tried to send private email asking to test your followup patch but still no response... Sorry for not answering your email, was hoping to have a response and just give you a positive feedback but I think this won't come...

Quoted 5 lines

This is what I fear - that merging his patch removes the incentive to test my patch. Oh well, I guess I will just send my patch that I can't test to be merged anyway, and to hell with it. If it breaks this and other modules, I'm sure someone will eventually send a report about that.

Signature · 1 line
	Ansuel
#5 lore raw
Quoted 21 lines · Christian Marangi
Quoted 11 lines · Russell King (Oracle)
Quoted 10 lines · Paolo Abeni

Hi Russel,

Quoted 7 lines · Russell King (Oracle)
Quoted 5 lines · Christian Marangi

Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd NRZ in their EEPROM.

The module also require the ignore tx fault fixup similar to Huawei MA5671A as it gets disabled on error messages with serial redirection enabled.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

I'll send you shortly a different approach for the "ignore tx fault" thing that I'd like you to test please.

Said patch is not blocking this one, am I correct?

Correct, but Christian has not responded in any way despite me sending him the patch that I'd like tested, which is very disappointing.

Quoted 6 lines

I'm with you with the disappointment... I was helping a guy adding support for this upstream and then magically disappeared... Tried to send private email asking to test your followup patch but still no response... Sorry for not answering your email, was hoping to have a response and just give you a positive feedback but I think this won't come...

In my experience, unfortunately, this is what happens in circumstances like this. There are some cases where it doesn't happen but inevitably when it's someone who's popped up with a problem, that's all they care about. After a while one gets jaded over it.

Thanks for trying anyway.

Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
#6 lore raw
In reply to Christian Marangi
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 9 lines · On Tue, 19 Sep 2023 14:47:20 +0200 you wrote:

Fiberstone GPON-ONU-34-20B can operate at 2500base-X, but report 1.2GBd NRZ in their EEPROM.

The module also require the ignore tx fault fixup similar to Huawei MA5671A as it gets disabled on error messages with serial redirection enabled.

[...]

Here is the summary with links:
- [net-next] net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI

    https://git.kernel.org/netdev/net-next/c/d387e34fec40

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html