LS1043A Jumbo frame support in Linux Mainline

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

LS1043A Jumbo frame support in Linux Mainline

502 Views
timsalabim
Contributor II

Dear NXP support, 

we are evaluating Jumbo Frames on LS1043A with a custom specific board, but when changing the MTU size in Linux the system shows:

Error: mtu greater than device maximum.

 During my research, I came across the following NXP Community thread:
https://community.nxp.com/t5/Layerscape/Why-is-LS1043-MTU-limited-to-2K-not-4K/m-p/847022 

Which refers to FMAN Errata A-010022 and a patch to fix this behavior in the NXP LSDK Kernel.
But I did not find anything similar for Linux Mainline Kernel, are there any fixes NXP can provide to support Jumbo Frames ? 

thank you in advance 

Labels (1)
0 Kudos
Reply
4 Replies

360 Views
timsalabim
Contributor II

Hello LFGP, 

thank you for the reply, Since Layerscape CPUs are primarily intended for network equipment, we as manufacturer are very interested in using the Linux mainline kernel, as the platforms are supported for a very long time and we are not dependent on NXP for kernel updates. This is becoming increasingly important for us and our customers, especially in light of the Cyber Resilience Act. 

best regards 

Tim 

0 Kudos
Reply

454 Views
LFGP
NXP TechSupport
NXP TechSupport
Dear @timsalabim,
unfortunately we don't have anything for the Linux Mainline Kernel regarding jumbo frames, due they are managed by the block DPAA we recommend to use the NXP SDK.

BR
LFGP
0 Kudos
Reply

488 Views
LFGP
NXP TechSupport
NXP TechSupport
Dear @timsalabim,

Did you set the DPAA Ethernet driver into the Kernel to support jumbo frames?
please review, into the LLDP user manual, the subsection "7.2.2.5.2.2 Kconfig options" and the "7.2.2.5.3.3 Jumbo frames support".
BR
LFGP
0 Kudos
Reply

485 Views
timsalabim
Contributor II

Hello, 

thanks for the reply, the mentioned option are only available in the NXP based Linux kernel, which uses CONFIG_FSL_SDK_DPAA

https://docs.nxp.com/bundle/UG10081_LLDP_L6.1.55_2.2.0/page/topics/jumbo_frames_support.html 

In the Linux Mainline kernel CONFIG_FSL_DPPA_ETH is used which does not have the extended options in the kernel menuconfig

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/freescale... 

 

best regards 

Tim 


 

Tags (1)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2184792%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELS1043A%20Jumbo%20frame%20support%20in%20Linux%20Mainline%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184792%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20NXP%20support%2C%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20are%20evaluating%20Jumbo%20Frames%20on%20LS1043A%20with%20a%20custom%20specific%20board%2C%20but%20when%20changing%20the%20MTU%20size%20in%20Linux%20the%20system%20shows%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EError%3A%20mtu%20greater%20than%20device%20maximum.%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3BDuring%20my%20research%2C%20I%20came%20across%20the%20following%20NXP%20Community%20thread%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape%2FWhy-is-LS1043-MTU-limited-to-2K-not-4K%2Fm-p%2F847022%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FLayerscape%2FWhy-is-LS1043-MTU-limited-to-2K-not-4K%2Fm-p%2F847022%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EWhich%20refers%20to%20FMAN%26nbsp%3B%3CSPAN%3EErrata%26nbsp%3BA-010022%20and%20a%20patch%20to%20fix%20this%26nbsp%3Bbehavior%20in%20the%20NXP%20LSDK%20Kernel.%3CBR%20%2F%3EBut%20I%20did%20not%20find%20anything%20similar%20for%20Linux%20Mainline%20Kernel%2C%20are%20there%20any%20fixes%20NXP%20can%20provide%20to%20support%20Jumbo%20Frames%20%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ethank%20you%20in%20advance%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2184792%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EQorIQ%20LS1%20Devices%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2191382%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043A%20Jumbo%20frame%20support%20in%20Linux%20Mainline%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2191382%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CSPAN%3ELFGP%2C%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3Ethank%20you%20for%20the%20reply%2C%26nbsp%3BSince%20Layerscape%20CPUs%20are%20primarily%20intended%20for%20network%20equipment%2C%20we%20as%20manufacturer%20are%20very%20interested%20in%20using%20the%20Linux%20mainline%20kernel%2C%20as%20the%20platforms%20are%20supported%20for%20a%20very%20long%20time%20and%20we%20are%20not%20dependent%20on%20NXP%20for%20kernel%20updates.%20This%20is%20becoming%20increasingly%20important%20for%20us%20and%20our%20customers%2C%20especially%20in%20light%20of%20the%20Cyber%20Resilience%20Act.%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ebest%20regards%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ETim%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2186093%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043A%20Jumbo%20frame%20support%20in%20Linux%20Mainline%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2186093%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDear%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180431%22%20target%3D%22_blank%22%3E%40timsalabim%3C%2FA%3E%2C%3CBR%20%2F%3Eunfortunately%20%20we%20don't%20have%20anything%20for%20the%20%20Linux%20Mainline%20Kernel%20regarding%20jumbo%20frames%2C%20due%20they%20are%20managed%20by%20the%20block%20DPAA%20we%20recommend%20to%20use%20the%20NXP%20SDK.%3CBR%20%2F%3E%3CBR%20%2F%3EBR%3CBR%20%2F%3ELFGP%20%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184983%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043A%20Jumbo%20frame%20support%20in%20Linux%20Mainline%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184983%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3Ethanks%20for%20the%20reply%2C%20the%20mentioned%20option%20are%20only%20available%20in%20the%20NXP%20based%20Linux%20kernel%2C%20which%20uses%20%3CSTRONG%3ECONFIG_FSL_SDK_DPAA%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FUG10081_LLDP_L6.1.55_2.2.0%2Fpage%2Ftopics%2Fjumbo_frames_support.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.nxp.com%2Fbundle%2FUG10081_LLDP_L6.1.55_2.2.0%2Fpage%2Ftopics%2Fjumbo_frames_support.html%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20the%20Linux%20Mainline%20kernel%20%3CSTRONG%3ECONFIG_FSL_DPPA_ETH%3C%2FSTRONG%3E%20is%20used%20which%20does%20not%20have%20the%20extended%20options%20in%20the%20kernel%20menuconfig%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git%2Ftree%2Fdrivers%2Fnet%2Fethernet%2Ffreescale%2Fdpaa%2FKconfig%3Fh%3Dv6.12.52%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git%2Ftree%2Fdrivers%2Fnet%2Fethernet%2Ffreescale%2Fdpaa%2FKconfig%3Fh%3Dv6.12.52%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ebest%20regards%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ETim%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2184945%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043A%20Jumbo%20frame%20support%20in%20Linux%20Mainline%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2184945%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDear%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180431%22%20target%3D%22_blank%22%3E%40timsalabim%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EDid%20you%20set%20the%20DPAA%20Ethernet%20driver%20into%20the%20Kernel%20to%20support%20jumbo%20frames%3F%20%3CBR%20%2F%3Eplease%20review%2C%20into%20the%20LLDP%20user%20manual%2C%20the%20subsection%20%227.2.2.5.2.2%20Kconfig%20options%22%20and%20the%20%227.2.2.5.3.3%20Jumbo%20frames%20support%22.%20%3CBR%20%2F%3EBR%3CBR%20%2F%3ELFGP%3C%2FLINGO-BODY%3E