Searched refs:xsk_ring_prod__reserve (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_metadata.c | 111 ret = xsk_ring_prod__reserve(&xsk->fill, UMEM_NUM / 2, &idx); in open_xsk() 147 ret = xsk_ring_prod__reserve(&xsk->tx, 1, &idx); in generate_packet() 252 if (ASSERT_EQ(xsk_ring_prod__reserve(&xsk->fill, 1, &idx), 1, "xsk_ring_prod__reserve")) { in refill_rx()
|
/linux/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 121 ret = xsk_ring_prod__reserve(&xsk->fill, UMEM_NUM / 2, &idx); in open_xsk() 145 if (xsk_ring_prod__reserve(&xsk->fill, 1, &idx) == 1) { in refill_rx() 338 ret = xsk_ring_prod__reserve(&xsk->tx, 1, &idx); in ping_pong()
|
H A D | xsk.h | 118 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() function
|
H A D | xskxceiver.c | 1162 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in __receive_pkts() 1169 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in __receive_pkts() 1320 while (xsk_ring_prod__reserve(&xsk->tx, xsk->batch_size, &idx) < xsk->batch_size) { in __send_pkts() 1651 ret = xsk_ring_prod__reserve(&umem->fq, buffers_to_fill, &idx); in xsk_populate_fill_ring()
|