Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
/Linux-v6.6/tools/testing/selftests/bpf/
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()
Dxsk.h118 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() function
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()
/Linux-v6.6/Documentation/networking/
Daf_xdp.rst644 xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq);
683 xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx);