All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3
@ 2026-11-18  2:56 github
  2026-11-18  3:28 ` Jakub Kicinski
  2026-11-18  3:45 ` [PATCH net-next v2] " github
  0 siblings, 2 replies; 3+ messages in thread
From: github @ 2026-11-18  2:56 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, linux, andrew, hkallweit1, davem, edumazet, kuba,
	pabeni, Israel Cueto

From: Israel Cueto <github@bumblecito.com>

The ODI DFP-34X-2C3 XPON SFP module supports 2500Base-X.

Add a quirk to enable 2500Base-X support for this module.

Tested on a Horaco ZX-SWTGW2C8F switch with an ODI
DFP-34X-2C3 module. A 2500 Mb/s link was established
with speed and duplex forced and autonegotiation disabled.

Signed-off-by: Israel Cueto <github@bumblecito.com>
---
 drivers/net/phy/sfp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 915156743..666e515d2 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -606,6 +606,9 @@ static const struct sfp_quirk sfp_quirks[] = {
 	SFP_QUIRK("HSGQ", "HSGQ-XPON-Stick", sfp_quirk_2500basex,
 		  sfp_fixup_ignore_tx_fault_and_los),
 
+	// ODI DFP-34X-2C3 XPON stick can operate at 2500base-X
+	SFP_QUIRK_S("ODI", "DFP-34X-2C3", sfp_quirk_2500basex),
+
 	// Lantech 8330-262D-E and 8330-265D can operate at 2500base-X, but
 	// incorrectly report 2500MBd NRZ in their EEPROM.
 	// Some 8330-265D modules have inverted LOS, while all of them report
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net-next] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3
  2026-11-18  2:56 [PATCH net-next] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3 github
@ 2026-11-18  3:28 ` Jakub Kicinski
  2026-11-18  3:45 ` [PATCH net-next v2] " github
  1 sibling, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2026-11-18  3:28 UTC (permalink / raw)
  To: github
  Cc: netdev, linux-kernel, linux, andrew, hkallweit1, davem, edumazet,
	pabeni

On Wed, 18 Nov 2026 02:56:02 +0000 github@bumblecito.com wrote:
> @@ -606,6 +606,9 @@ static const struct sfp_quirk sfp_quirks[] = {
>  	SFP_QUIRK("HSGQ", "HSGQ-XPON-Stick", sfp_quirk_2500basex,
>  		  sfp_fixup_ignore_tx_fault_and_los),
>  
> +	// ODI DFP-34X-2C3 XPON stick can operate at 2500base-X
> +	SFP_QUIRK_S("ODI", "DFP-34X-2C3", sfp_quirk_2500basex),

please try to keep this alphabetically sorted
-- 
pw-bot: cr

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH net-next v2] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3
  2026-11-18  2:56 [PATCH net-next] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3 github
  2026-11-18  3:28 ` Jakub Kicinski
@ 2026-11-18  3:45 ` github
  1 sibling, 0 replies; 3+ messages in thread
From: github @ 2026-11-18  3:45 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, linux, andrew, hkallweit1, davem, edumazet, kuba,
	pabeni, Israel Cueto

From: Israel Cueto <github@bumblecito.com>

The ODI DFP-34X-2C3 XPON SFP module supports 2500Base-X.

Add a quirk to enable 2500Base-X support for this module.

Tested on a Horaco ZX-SWTGW2C8F switch with an ODI
DFP-34X-2C3 module. A 2500 Mb/s link was established
with speed and duplex forced and autonegotiation disabled.

Signed-off-by: Israel Cueto <github@bumblecito.com>
---
Changes in v2:
  - Move the ODI quirk to its alphabetical position.

 drivers/net/phy/sfp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c
index 915156743..960ac89cc 100644
--- a/drivers/net/phy/sfp.c
+++ b/drivers/net/phy/sfp.c
@@ -614,6 +614,9 @@ static const struct sfp_quirk sfp_quirks[] = {
 	SFP_QUIRK("Lantech", "8330-265D", sfp_quirk_2500basex,
 		  sfp_fixup_ignore_los),
 
+	// ODI DFP-34X-2C3 XPON stick can operate at 2500base-X
+	SFP_QUIRK_S("ODI", "DFP-34X-2C3", sfp_quirk_2500basex),
+
 	SFP_QUIRK_S("UBNT", "UF-INSTANT", sfp_quirk_ubnt_uf_instant),
 
 	// Walsun HXSX-ATR[CI]-1 don't identify as copper, and use the
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-18  3:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-18  2:56 [PATCH net-next] net: sfp: add 2500base-X quirk for ODI DFP-34X-2C3 github
2026-11-18  3:28 ` Jakub Kicinski
2026-11-18  3:45 ` [PATCH net-next v2] " github

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.