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.
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
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?