* [PATCH net-next] net: sfp: ignore LOS also on Hisense GPON modules
@ 2026-09-24 11:50 Marek Behún
2026-09-24 14:25 ` Andrew Lunn
2026-09-26 0:30 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Marek Behún @ 2026-09-24 11:50 UTC (permalink / raw)
To: netdev
Cc: Russell King, Marcin Nita, John Pavlick, Andrew Lunn,
Marek Behún
Similar to commit 87d126852158467a ("net: sfp: improve Huawei MA5671a
fixup"), in order to be able to communicate with the module for
configuration even if the fiber is not connected, apply also the
sfp_fixup_ignore_los() fixup to the following SFP modules:
Hisense-Leox LXT-010S-H
Hisense ZNID-GPON-2311NA
HSGQ HSGQ-XPON-Stick
Note: tested only on the Hisense-Leox LXT-010S-H module, but applying to
all three modules, since they were all added in the same
commit 95aca8602ef70ffd ("net: sfp: add quirks for Hisense and HSGQ GPON
ONT SFP modules"), which says they are all based on the same chipset
Realtek RTL960x.
Signed-off-by: Marek Behún <kabel@kernel.org>
---
drivers/net/phy/sfp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 6bbb02117217..96361584791b 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -594,17 +594,17 @@ static const struct sfp_quirk sfp_quirks[] = {
// can operate at 2500base-X, but reports 1000BASE-LX / 1300MBd in its
// EEPROM
SFP_QUIRK("Hisense-Leox", "LXT-010S-H", sfp_quirk_2500basex,
- sfp_fixup_ignore_tx_fault),
+ sfp_fixup_ignore_tx_fault_and_los),
// Hisense ZNID-GPON-2311NA can operate at 2500base-X, but reports
// 1000BASE-LX / 1300MBd in its EEPROM
SFP_QUIRK("Hisense", "ZNID-GPON-2311NA", sfp_quirk_2500basex,
- sfp_fixup_ignore_tx_fault),
+ sfp_fixup_ignore_tx_fault_and_los),
// HSGQ HSGQ-XPON-Stick can operate at 2500base-X, but reports
// 1000BASE-LX / 1300MBd in its EEPROM
SFP_QUIRK("HSGQ", "HSGQ-XPON-Stick", sfp_quirk_2500basex,
- sfp_fixup_ignore_tx_fault),
+ sfp_fixup_ignore_tx_fault_and_los),
// Lantech 8330-262D-E and 8330-265D can operate at 2500base-X, but
// incorrectly report 2500MBd NRZ in their EEPROM.
--
2.55.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: sfp: ignore LOS also on Hisense GPON modules
2026-09-24 11:50 [PATCH net-next] net: sfp: ignore LOS also on Hisense GPON modules Marek Behún
@ 2026-09-24 14:25 ` Andrew Lunn
2026-09-26 0:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2026-09-24 14:25 UTC (permalink / raw)
To: Marek Behún; +Cc: netdev, Russell King, Marcin Nita, John Pavlick
On Thu, Sep 24, 2026 at 01:50:55PM +0200, Marek Behún wrote:
> Similar to commit 87d126852158467a ("net: sfp: improve Huawei MA5671a
> fixup"), in order to be able to communicate with the module for
> configuration even if the fiber is not connected, apply also the
> sfp_fixup_ignore_los() fixup to the following SFP modules:
>
> Hisense-Leox LXT-010S-H
> Hisense ZNID-GPON-2311NA
> HSGQ HSGQ-XPON-Stick
>
> Note: tested only on the Hisense-Leox LXT-010S-H module, but applying to
> all three modules, since they were all added in the same
> commit 95aca8602ef70ffd ("net: sfp: add quirks for Hisense and HSGQ GPON
> ONT SFP modules"), which says they are all based on the same chipset
> Realtek RTL960x.
>
> Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: sfp: ignore LOS also on Hisense GPON modules
2026-09-24 11:50 [PATCH net-next] net: sfp: ignore LOS also on Hisense GPON modules Marek Behún
2026-09-24 14:25 ` Andrew Lunn
@ 2026-09-26 0:30 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-09-26 0:30 UTC (permalink / raw)
To: =?utf-8?q?Marek_Beh=C3=BAn_=3Ckabel=40kernel=2Eorg=3E?=
Cc: netdev, rmk+kernel, marcin.nita, jspavlick, andrew
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 24 Sep 2026 13:50:55 +0200 you wrote:
> Similar to commit 87d126852158467a ("net: sfp: improve Huawei MA5671a
> fixup"), in order to be able to communicate with the module for
> configuration even if the fiber is not connected, apply also the
> sfp_fixup_ignore_los() fixup to the following SFP modules:
>
> Hisense-Leox LXT-010S-H
> Hisense ZNID-GPON-2311NA
> HSGQ HSGQ-XPON-Stick
>
> [...]
Here is the summary with links:
- [net-next] net: sfp: ignore LOS also on Hisense GPON modules
https://git.kernel.org/netdev/net-next/c/0fd5dfa99cfc
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-26 0:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-24 11:50 [PATCH net-next] net: sfp: ignore LOS also on Hisense GPON modules Marek Behún
2026-09-24 14:25 ` Andrew Lunn
2026-09-26 0:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox