Skip to content

AF_XDP issues on kernel 6.14 with Intel I225-LM — packet not passed to kernel stack and redirect_map not working #469

@YiHsiuChiu

Description

@YiHsiuChiu

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:

  1. 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.
  2. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions