Skip to content

Conversation

wangxinmian
Copy link

This change enhances the XDP LinkEndpoint to support multiple RX queues instead of being limited to queue 0. The implementation includes:

  • Add QueueID field to the Options struct to specify which RX queue the AF_XDP socket should be attached to
  • Modify the New function to initialize the AF_XDP socket with the specified QueueID instead of hardcoded 0

This allows better distribution of network traffic across multiple queues for improved performance in high-throughput scenarios.

Fixes issue with XDP LinkEndpoint only supporting NIC queue 0.

Copy link

google-cla bot commented Sep 8, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ayushr2
Copy link
Collaborator

ayushr2 commented Sep 8, 2025

The change looks good. Can you sign the CLA?

This change enhances the XDP LinkEndpoint to support multiple RX queues
instead of being limited to queue 0. The implementation includes:

- Add QueueID field to the Options struct to specify which RX queue
  the AF_XDP socket should be attached to
- Modify the New function to initialize the AF_XDP socket with the
  specified QueueID instead of hardcoded 0

This allows better distribution of network traffic across multiple
queues for improved performance in high-throughput scenarios.

Fixes issue with XDP LinkEndpoint only supporting NIC queue 0.
@wangxinmian
Copy link
Author

变化看起来不错。你能签署 CLA 吗?

Okay, I have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants