how to change MTU size > 1500 in imx8m mini

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

how to change MTU size > 1500 in imx8m mini

1,812件の閲覧回数
zhouyq
Contributor II

Hi,

we need to change MTU size more than 1500 default on imx8m mini, such as 9000.

I refer to the contents of the two posts to modify my kernel and fec driver, but it does not work.

Solved: Re: How to set jumbo frame? - NXP Community

[PATCH/RFC,net-next] net: fec: allow "mini jumbo" frames - Patchwork (kernel.org)

Although I can set mtu to 9000, but he can't communicate normally.

I have confirmed that the mtu of the target machine has been set to 9000, and can be pinged through with the "-s 9000" parameter.

Regards,

zhouyq

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,804件の閲覧回数
b36401
NXP Employee
NXP Employee

Actually jumbo frames are not supported hardware way. The onboard FIFO was not sized for jumbo frames.
So it is not recommended to use jumbo frames on i.MX8MMini.
I mean even if you configure it somehow you may get performance loose.

0 件の賞賛
返信

1,777件の閲覧回数
zhouyq
Contributor II

Yes, I tried to support the jumbo frame of the onboard network card in the driver, and after the system started, I used "ifconfig" to see that it was configured to 9000, but it did not work properly. Is there a solution to this problem?

Thanks.

0 件の賞賛
返信