Searched refs:buffers_to_fill (Results 1 – 1 of 1) sorted by relevance
1643 u32 idx = 0, filled = 0, buffers_to_fill, nb_pkts; in xsk_populate_fill_ring() local1647 buffers_to_fill = umem->num_frames; in xsk_populate_fill_ring()1649 buffers_to_fill = umem->fill_size; in xsk_populate_fill_ring()1651 ret = xsk_ring_prod__reserve(&umem->fq, buffers_to_fill, &idx); in xsk_populate_fill_ring()1652 if (ret != buffers_to_fill) in xsk_populate_fill_ring()1655 while (filled < buffers_to_fill) { in xsk_populate_fill_ring()1672 if (++filled >= buffers_to_fill) in xsk_populate_fill_ring()1677 xsk_ring_prod__cancel(&umem->fq, buffers_to_fill - filled); in xsk_populate_fill_ring()