Home
last modified time | relevance | path

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

/linux-5.19.10/samples/bpf/
Dxdpsock_user.c989 ret = xsk_ring_prod__reserve(&umem->fq, in xsk_populate_fill_ring()
1382 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
1391 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
1440 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
1448 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
1501 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only()
1684 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd()
1693 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd()
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()
/linux-5.19.10/tools/lib/bpf/
Dxsk.h189 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() function
/linux-5.19.10/tools/testing/selftests/bpf/
Dxdpxceiver.c858 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts()
867 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts()
908 while (xsk_ring_prod__reserve(&xsk->tx, BATCH_SIZE, &idx) < BATCH_SIZE) in __send_pkts()
1183 ret = xsk_ring_prod__reserve(&umem->fq, buffers_to_fill, &idx); in xsk_populate_fill_ring()