Commit 778dd85
committed
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.1 parent 6658538 commit 778dd85
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
| |||
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
167 | | - | |
| 170 | + | |
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
| |||
0 commit comments