Home
last modified time | relevance | path

Searched refs:xsk_ring_prod__reserve (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/samples/bpf/
H A Dxdpsock_user.c830 ret = xsk_ring_prod__reserve(&umem->fq, in xsk_populate_fill_ring()
1131 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
1139 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
1190 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
1198 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
1250 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only()
1354 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd()
1363 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd()
H A Dxsk_fwd.c514 xsk_ring_prod__reserve(&p->umem_fq, umem_fq_size, &pos); in port_init()
564 status = xsk_ring_prod__reserve(&p->umem_fq, n_pkts, &pos); in port_rx_burst()
610 status = xsk_ring_prod__reserve(&p->txq, n_pkts, &pos); in port_tx_burst()
/kernel/linux/linux-6.6/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()
98 if (!ASSERT_EQ(UMEM_NUM / 2, ret, "xsk_ring_prod__reserve")) in open_xsk()
149 ret = xsk_ring_prod__reserve(&xsk->tx, 1, &idx); in generate_packet()
150 if (!ASSERT_EQ(ret, 1, "xsk_ring_prod__reserve")) in generate_packet()
212 if (ASSERT_EQ(xsk_ring_prod__reserve(&xsk->fill, 1, &idx), 1, "xsk_ring_prod__reserve")) { in refill_rx()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dxsk.h116 static inline size_t xsk_ring_prod__reserve(struct xsk_ring_prod *prod, in xsk_ring_prod__reserve() function

Completed in 10 milliseconds