Hi, I’m currently testing AF_XDP on a system running Linux kernel 6.14 with an Intel I225-LM NIC, and I’ve encountered two issues:
-
When I bind an AF_XDP socket to an RX queue, packets on that queue are not passed to the kernel stack as expected.
- My XDP program only uses redirect_map for specific types of packets, and other packets should be passed normally to the kernel stack.
- However, once the AF_XDP socket is bound, it seems that all packets on that queue are blocked from reaching the kernel.
-
I tried binding the AF_XDP socket to a different RX queue (e.g., queue ID 3) and used redirect_map to redirect packets from another queue (e.g., queue ID 0) to the AF_XDP socket’s queue ID (3).
- However, the redirected packets do not arrive at the AF_XDP socket.
I’d like to confirm whether these two setups are expected to work or if there are known limitations or configuration requirements I might have missed.
Any guidance or hints on what might be misconfigured would be greatly appreciated.
Thank you!