Skip to content

Conversation

@copybara-service
Copy link

net: xdp: Support multiple RX queues for LinkEndpoint

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.

FUTURE_COPYBARA_INTEGRATE_REVIEW=#12117 from wangxinmian:go e31aab6

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.
@copybara-service copybara-service bot added the exported Issue was exported automatically label Nov 21, 2025
PiperOrigin-RevId: 835109509
@copybara-service copybara-service bot merged commit 43ca398 into master Nov 21, 2025
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl834947187 branch November 21, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants