100g QSFP hotplug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

100g QSFP hotplug

164 Views
botondk
Contributor I

We have a SolidRun ClearFog LX2 board and using 100G ethernet through QSFP. Everything works fine but the disconnect/reconnect.
If the far side is disconnected/reconnected the link doesn't come up again. "ip link set dev eth1 down/up" doesn't help. "echo dpni.1 > /sys/bus/fsl-mc/drivers/fsl_dpaa2_eth/unbind" doesn't help either.
Is there a proven workaround for this issue?

 

0 Kudos
Reply
4 Replies

142 Views
yipingwang
NXP TechSupport
NXP TechSupport

Add the following configuration to the DPC file:

mac@2 {

    link_type = "MAC_LINK_TYPE_BACKPLANE";

    enet_if = "CAUI";

}

0 Kudos
Reply

131 Views
botondk
Contributor I

Thanks!

That didn't help. After the change I get the following errors during "ls-addni dpmac.1"
 fsl_dpaa2_eth dpni.1 (unnamed net_device) (uninitialized): failed to validate link configuration for in-band status
 fsl_dpaa2_eth dpni.1 (unnamed net_device) (uninitialized): Error connecting to the MAC endpoint

Our original dpc looks like this:
mac@1 {
    link_type = "MAC_LINK_TYPE_FIXED";
};

We use SerDes config 14-2-2.

 

0 Kudos
Reply

21 Views
yipingwang
NXP TechSupport
NXP TechSupport

What is linux kernel version? Since linux 6.1, our sdk add backplane driver, SFP module is supported by SFP driver.

0 Kudos
Reply

100 Views
yipingwang
NXP TechSupport
NXP TechSupport

Discussing with the AE team.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2426245%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E100g%20QSFP%20hotplug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426245%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20have%20a%20SolidRun%20ClearFog%20LX2%20board%20and%20using%20100G%20ethernet%20through%20QSFP.%20Everything%20works%20fine%20but%20the%20disconnect%2Freconnect.%3CBR%20%2F%3EIf%20the%20far%20side%20is%20disconnected%2Freconnected%20the%20link%20doesn't%20come%20up%20again.%20%22ip%20link%20set%20dev%20eth1%20down%2Fup%22%20doesn't%20help.%20%22echo%20dpni.1%20%26gt%3B%26nbsp%3B%2Fsys%2Fbus%2Ffsl-mc%2Fdrivers%2Ffsl_dpaa2_eth%2Funbind%22%20doesn't%20help%20either.%3CBR%20%2F%3EIs%20there%20a%20proven%20workaround%20for%20this%20issue%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2426341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20100g%20QSFP%20hotplug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426341%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAdd%20the%20following%20configuration%20to%20the%20DPC%20file%3A%3C%2FP%3E%0A%3CP%3Emac%402%20%7B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20link_type%20%3D%20%22MAC_LINK_TYPE_BACKPLANE%22%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%20enet_if%20%3D%20%22CAUI%22%3B%3C%2FP%3E%0A%3CP%3E%7D%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2426552%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20100g%20QSFP%20hotplug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426552%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EThanks!%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThat%20didn't%20help.%20After%20the%20change%20I%20get%20the%20following%20errors%20during%20%22ls-addni%20dpmac.1%22%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3Bfsl_dpaa2_eth%20dpni.1%20(unnamed%20net_device)%20(uninitialized)%3A%20failed%20to%20validate%20link%20configuration%20for%20in-band%20status%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3Bfsl_dpaa2_eth%20dpni.1%20(unnamed%20net_device)%20(uninitialized)%3A%20Error%20connecting%20to%20the%20MAC%20endpoint%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EOur%20original%20dpc%20looks%20like%20this%3A%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3Emac%401%20%7B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20link_type%20%3D%20%22MAC_LINK_TYPE_FIXED%22%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%7D%3B%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EWe%20use%20SerDes%20config%2014-2-2.%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2426978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20100g%20QSFP%20hotplug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2426978%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDiscussing%20with%20the%20AE%20team.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2430999%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20100g%20QSFP%20hotplug%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2430999%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EWhat%20is%20linux%20kernel%20version%3F%20Since%20linux%206.1%2C%20our%20sdk%20add%20backplane%20driver%2C%20SFP%20module%20is%20supported%20by%20SFP%20driver.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E