Lines Matching refs:batch_size
1177 int batch_size) in complete_tx_only() argument
1190 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_tx_only()
1267 static void tx_only(struct xsk_socket_info *xsk, u32 *frame_nb, int batch_size) in tx_only() argument
1272 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only()
1273 batch_size) { in tx_only()
1274 complete_tx_only(xsk, batch_size); in tx_only()
1279 for (i = 0; i < batch_size; i++) { in tx_only()
1286 xsk_ring_prod__submit(&xsk->tx, batch_size); in tx_only()
1287 xsk->ring_stats.tx_npkts += batch_size; in tx_only()
1288 xsk->outstanding_tx += batch_size; in tx_only()
1289 *frame_nb += batch_size; in tx_only()
1291 complete_tx_only(xsk, batch_size); in tx_only()
1334 int batch_size = get_batch_size(pkt_cnt); in tx_only_all() local
1348 tx_only(xsks[i], &frame_nb[i], batch_size); in tx_only_all()
1350 pkt_cnt += batch_size; in tx_only_all()