flexcan - txqueuelen safe lower/upper limit range

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

flexcan - txqueuelen safe lower/upper limit range

577 Views
shajin
Contributor II

Hello Team,

I have a custom HW platform powered with i.MX6 Quad running Yocto Dunfell. The Linux kernel version used in the product is 5.4. We are using NXP's flexcan interface to communicate with one of the CAN slave device.

During stress testing on the CAN interface we observe out of buffer error on the CAN interface and increasing the default transmission queue length of can0 from 10 to 1000 helps to overcome the CAN out of buffer error issue. I wanted to understand the significance of txqueuelen of can0 interface. In case of ethernet, the default txqueuelen is set to 1000.

What would be the recommended lower/upper limit of txqueuelen for the imx6 flexcan interface? 

Any suggestions on this would be much appreciated. 

 

Regards,

Shajin

Labels (1)
Tags (2)
0 Kudos
Reply
2 Replies

514 Views
shajin
Contributor II

Hello Team, 

 

Any suggestions on the txqueuelen for the flexcan interface in Linux kernel 5.4 ? 

 

Thanks for your time...

0 Kudos
Reply

502 Views
joanxie
NXP TechSupport
NXP TechSupport

sorry for my delay, do you mind sharing your stress test steps and the logfile or any error message with me?

0 Kudos
Reply