Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c97 ret = xsk_ring_prod__reserve(&xsk->fill, UMEM_NUM / 2, &idx); in open_xsk()
149 ret = xsk_ring_prod__reserve(&xsk->tx, 1, &idx); in generate_packet()
212 if (ASSERT_EQ(xsk_ring_prod__reserve(&xsk->fill, 1, &idx), 1, "xsk_ring_prod__reserve")) { in refill_rx()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c107 ret = xsk_ring_prod__reserve(&xsk->fill, UMEM_NUM / 2, &idx); in open_xsk()
131 if (xsk_ring_prod__reserve(&xsk->fill, 1, &idx) == 1) { in refill_rx()
H A Dxsk.h118 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() function
H A Dxskxceiver.c1019 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts()
1028 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts()
1111 while (xsk_ring_prod__reserve(&xsk->tx, BATCH_SIZE, &idx) < BATCH_SIZE) { in __send_pkts()
1397 ret = xsk_ring_prod__reserve(&umem->fq, buffers_to_fill, &idx); in xsk_populate_fill_ring()
/openbmc/qemu/net/
H A Daf-xdp.c158 if (!s->n_pool || !xsk_ring_prod__reserve(&s->tx, 1, &idx)) { in af_xdp_receive()
204 if (!n || !xsk_ring_prod__reserve(&s->fq, n, &idx)) { in af_xdp_fq_refill()
/openbmc/linux/Documentation/networking/
H A Daf_xdp.rst644 xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq);
683 xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx);