Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c1389 u32 idx = 0, filled = 0, buffers_to_fill, nb_pkts; in xsk_populate_fill_ring() local
1393 buffers_to_fill = umem->num_frames; in xsk_populate_fill_ring()
1395 buffers_to_fill = XSK_RING_PROD__DEFAULT_NUM_DESCS; in xsk_populate_fill_ring()
1397 ret = xsk_ring_prod__reserve(&umem->fq, buffers_to_fill, &idx); in xsk_populate_fill_ring()
1398 if (ret != buffers_to_fill) in xsk_populate_fill_ring()
1401 while (filled < buffers_to_fill) { in xsk_populate_fill_ring()
1418 if (++filled >= buffers_to_fill) in xsk_populate_fill_ring()
1423 xsk_ring_prod__cancel(&umem->fq, buffers_to_fill - filled); in xsk_populate_fill_ring()