Lines Matching refs:batch_size
1154 int batch_size) in complete_tx_only() argument
1167 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_tx_only()
1245 static void tx_only(struct xsk_socket_info *xsk, u32 *frame_nb, int batch_size) in tx_only() argument
1250 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only()
1251 batch_size) { in tx_only()
1252 complete_tx_only(xsk, batch_size); in tx_only()
1255 for (i = 0; i < batch_size; i++) { in tx_only()
1262 xsk_ring_prod__submit(&xsk->tx, batch_size); in tx_only()
1263 xsk->outstanding_tx += batch_size; in tx_only()
1264 *frame_nb += batch_size; in tx_only()
1266 complete_tx_only(xsk, batch_size); in tx_only()
1309 int batch_size = get_batch_size(pkt_cnt); in tx_only_all() local
1323 tx_only(xsks[i], &frame_nb[i], batch_size); in tx_only_all()
1325 pkt_cnt += batch_size; in tx_only_all()