Skip to content

Xdp Rx Queue #1992

@JasMetzger

Description

@JasMetzger

Question

I am exploring XDP for high speed network processing and considering PCAPPlusPlus
which has wrapper for the user side. Perhaps I don't understand XDP enough but I think the AF_XDP socket is associated with an rx queue but I don't see any reference to that in the open() function which configures it. How are rx queues designated? Thanks.

Update:
I think the uint32_t rxId = 0; in the receivePackets function indicates the rx queue. Any reason why this isn't an argument for the function so that the application can define multiple threads each one to handle a receive queue for performance or is that not going to help. Thanks.

Operating systems

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions