i.MX6 PCI-E LAN MTU size

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

i.MX6 PCI-E LAN MTU size

1,746 Views
shichinhuang
Contributor I

Hi,

We are debugging an issue like below link,

https://community.nxp.com/thread/321964

We need set MTU=500 (original default value is 1500) for LAN output packet normlly work or it cannot send any output packet.

It seems that the issue of above linked still exist in the kernel.(Linux YOCTO  version 4.9.88-imx_4.9.88_2.0.0_ga+g159b147)

Do you have any updated about the issue?

Thanks!

Sincerely,

Shichin

Labels (1)
0 Kudos
10 Replies

1,461 Views
jose_oga
NXP Employee
NXP Employee

Hello shichinhuang

I've just had the same problem. fixed compiling the kernel with the attached patch. Using mainline RT6169 driver.

Let us know if this works.

0 Kudos

1,461 Views
shichinhuang
Contributor I

Hi Jose,

Thank you very much to share the patch.

We will try the patch and test it again.

Thanks!

0 Kudos

1,461 Views
jose_oga
NXP Employee
NXP Employee

Hello shichinhuang

Just wondering, any luck?

Regards,

0 Kudos

1,461 Views
shichinhuang
Contributor I

Hi Jose,

We are working with Realtek about how to implement the patch in the driver.

Thank you for your help!

0 Kudos

1,461 Views
b36401
NXP Employee
NXP Employee

We have no updates regarding such issue.
Sorry for the inconvenience.

0 Kudos

1,461 Views
shichinhuang
Contributor I

Hi Victor,

Could you help to tell me if the issue was caused by SOC hardware or Linux kernel driver ?

Thanks!

Shichin

0 Kudos

1,461 Views
b36401
NXP Employee
NXP Employee

In i.MX6 series we have known issue that theoretical maximum performance of gigabit ethernet is only 470 Mbps not 1000 Mbps.
And in real applications the performance is even a bit less than 470 Mbps.
Please note that i.MX series are more multimedia than networking processors.

0 Kudos

1,461 Views
shichinhuang
Contributor I

Hi Victor,

Thanks for your reply.

But the issue is not relevant to transfer speed.

The issue is MTU need reduce from 1500 (ethernet deafult) to 500 for PCI-e LAN normally work on i.MX6.

If we use default value 1500, the PCI-e LAN cannot work. 

0 Kudos

1,461 Views
shichinhuang
Contributor I

Hi Victor,

Thanks for your answer.

For this issue, I would like to what 's the root cause of the MTU size issue on i.MX6 ? Is it related to i.MX6 hardware or kernel issue?

Besides MTU issue, is there any concern of desing PCI-E giga LAN on i.MX6DualLite platform? Because we need design PCI-E giga LAN in the product.

Thanks!

Shichin

0 Kudos

1,052 Views
Abi__1289
Contributor II

Hi shichin,

Did you found the Root cause of having Low MTU size for the IMX6 Chipsets , We are also facing the same issue for the imx6q Chip with linux 5.4 version . Did you applied the patch for working out the rt6189 driver. 

 

Would be really helpful for response .

 

Thankyou 

Abhishek

0 Kudos