Configuring Fman interfaces for Jumbo frames

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Configuring Fman interfaces for Jumbo frames

186件の閲覧回数
vboroda
Contributor I

I made a Yocto Dunfell build for a custom T2080-based board with QorIQ kernel 5.4.3. 

All interfaces generally work, SFP and Ethernet.  The config parameters are as follows:

CONFIG_FSL_DPAA=y
CONFIG_FSL_FMAN=y
CONFIG_FSL_DPAA_ETH=y
CONFIG_FSL_XGMAC_MDIO=y

However, the maxmtu for all FMAN interfaces is set to the Ethernet default of 1500.  Setting fsl_fm_max_frm=9600 in the kernel boot parameters doesn't appear to affect maxmtu. The kernel sources indicate that the FSL_DPAA_ETH_JUMBO_FRAME config parameter only applies to the "SDK" builds.

Can we get jumbo frames working on the non-SDK build?

0 件の賞賛
1 返信

157件の閲覧回数
Oswalag
NXP TechSupport
NXP TechSupport

It could be possible but we don't have any example out of the SDK.

In case you are interested, Linux SDK supports Jumbo frame size up to 9.6KB. The driver has the option to allocate Rx buffers large enough to accommodate the entire frame(of max 9.6K).

In addition to enabling this feature(FSL_DPAA_ETH_JUMBO_FRAME) from menuconfig, the user is required to set the L2 maximum frame size to 9600, otherwise the configuration is not valid. This can be achieved by either setting fsl_fm_max_frm=9600 in the bootargs, or configuring CONFIG_FSL_FM_MAX_FRAME_SIZE from menuconfig.

 

0 件の賞賛