Home
last modified time | relevance | path

Searched refs:BATCH_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.h45 #define BATCH_SIZE 64 macro
H A Dxskxceiver.c239 sock_opt = BATCH_SIZE; in enable_busy_poll()
1014 rcvd = xsk_ring_cons__peek(&xsk->rx, BATCH_SIZE, &idx_rx); in receive_pkts()
1106 if (pkts_in_flight >= (int)((umem_size(umem) - BATCH_SIZE * buffer_len) / buffer_len)) { in __send_pkts()
1111 while (xsk_ring_prod__reserve(&xsk->tx, BATCH_SIZE, &idx) < BATCH_SIZE) { in __send_pkts()
1131 complete_pkts(xsk, BATCH_SIZE); in __send_pkts()
1134 for (i = 0; i < BATCH_SIZE; i++) { in __send_pkts()
1142 if (nb_frags > BATCH_SIZE - i) { in __send_pkts()
1144 xsk_ring_prod__cancel(&xsk->tx, BATCH_SIZE - i); in __send_pkts()
1213 complete_pkts(xsk, BATCH_SIZE); in wait_for_tx_completion()