stmmac - XDP program in native mode - RCU errors
Hi there,
I'm working with stmmac driver. I understand this driver is integrated with XDP support.
On my board I'm running Linux kernel 5.15.32 with preempt_rt enabled, and I'm running a AF_XDP program on user space at high RR priority, on isolated cpu.
When running the XDP program on the network interface driven by stmmac on the socket buffer level everything is working fine.
When trying to run the same XDP program in native mode, that is, on the network driver level I'm getting a bunch of the following errors:
NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #8
And from this point the system is not very usable anymore...
The AF_XDP program transmits a icmp request that is received on the other side and a reply is transmitted back. The AF_XDP program then poll() the xsk socket, no data is read from the socket, and this error comes out.
Have you any idea?
Thanks a lot,
Nir.
