We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8067519 commit a6398cbCopy full SHA for a6398cb
xdp-server.c
@@ -227,7 +227,9 @@ static void fill_fq(struct xsk_socket_info *xsk) {
227
xsk_ring_prod__reserve(&xsk->umem->fq, stock_frames, &idx_fq);
228
229
for (uint32_t i = 0; i < stock_frames; ++i) {
230
- // TODO: handle lack of available frames?
+ /* TODO: handle lack of available frames?
231
+ * Is not necessary when the total amount of frames exceeds the
232
+ * total slots available across all queues combined */
233
/* uint64_t frame = xsk_alloc_umem_frame(xsk); */
234
/* if (frame == XDP_INVALID_UMEM_FRAME) */
235
/* printf("xdp: trying to fill_addr INVALID UMEM FRAME"); */
0 commit comments