Searched refs:n_rx (Results 1 – 1 of 1) sorted by relevance
221 uint32_t i, n_rx, idx = 0; in af_xdp_send() local224 n_rx = xsk_ring_cons__peek(&s->rx, AF_XDP_BATCH_SIZE, &idx); in af_xdp_send()225 if (!n_rx) { in af_xdp_send()229 for (i = 0; i < n_rx; i++) { in af_xdp_send()249 xsk_ring_cons__cancel(&s->rx, n_rx - i - 1); in af_xdp_send()250 n_rx = i + 1; in af_xdp_send()256 xsk_ring_cons__release(&s->rx, n_rx); in af_xdp_send()