ethernet rx interrupt problem(i.mx8mp)

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

ethernet rx interrupt problem(i.mx8mp)

165件の閲覧回数
ryan_81
Contributor II

My i.MX8MP board receives UDP data from a server.

The server sends data every 1 microsecond, with each packet being 64 bytes.

However, the i.MX8MP does not trigger an interrupt event every 1 microsecond.

To address this, I configured eth0 using ethtool.

The default values are below.

-----------------------------------

rx-usecs: 1000
rx-frames: 200
rx-usecs-irq: 0
rx-frames-irq: 0

------------------------------------

I set rx-usecs to 1 and rx-frames to 1.

However, it doesn't seem to be working as expected.

Is there an updated Ethernet driver available, or is it already up to date?

My kernel version is 5.10.72.

0 件の賞賛
返信
2 返答(返信)

135件の閲覧回数
JosephAtNXP
NXP TechSupport
NXP TechSupport

Hi,

Thank you for your interest in NXP Semiconductor products,

Probably there is a bandwidth limitation with the parameters set, could you try with this set-up:

$ ethtool -C ethX rx-usecs 100 rx-frames 20

Regards

0 件の賞賛
返信

125件の閲覧回数
ryan_81
Contributor II

I tried you recommend. @JosephAtNXP 

The test condition was receiving 64 bytes every 1 microsecond, and I ran the test 1000 times.

The result improved, but it’s still not perfect.

Is it possible to set rx-usecs to 1 or rx-frames to 1 and have it work?

0 件の賞賛
返信