Thread (5 messages) 5 messages, 3 authors, 2026-03-06

Re: [PATCH net v2] net: sfp: improve Huawei MA5671a fixup

From: Álvaro Fernández Rojas <hidden>
Date: 2026-03-06 10:23:28
Also in: lkml

El jue, 5 mar 2026 a las 16:04, Andrew Lunn ([off-list ref]) escribió:
quoted
+static void sfp_fixup_huawei(struct sfp *sfp)
Please avoid using a vendor name. It is unlikely just this vendor
produces an SFP broken like this, other vendors will break their SFPs
in the same way. And then we will want to reuse this helper.
I just followed the same logic used for sfp_fixup_nokia()
https://github.com/torvalds/linux/blob/5ee8dbf54602dc340d6235b1d6aa17c0f283f48c/drivers/net/phy/sfp.c#L375-L379
So maybe sfp_fixup_ignore_tx_fault_and_loss()?
Sure, I can change that in v3.
   Andrew
Best regards,
Álvaro.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help