Searched refs:xsk_ring_prod__reserve (Results 1 – 4 of 4) sorted by relevance
/linux/samples/bpf/ |
A D | xdpsock_user.c | 840 ret = xsk_ring_prod__reserve(&umem->fq, in xsk_populate_fill_ring() 1154 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd() 1163 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd() 1212 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop() 1220 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop() 1272 while (xsk_ring_prod__reserve(&xsk->tx, batch_size, &idx) < in tx_only() 1378 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd() 1387 ret = xsk_ring_prod__reserve(&xsk->tx, rcvd, &idx_tx); in l2fwd()
|
A D | xsk_fwd.c | 514 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/tools/testing/selftests/bpf/ |
A D | xdpxceiver.c | 761 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts() 770 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts() 814 while (xsk_ring_prod__reserve(&xsk->tx, BATCH_SIZE, &idx) < BATCH_SIZE) in __send_pkts() 1023 ret = xsk_ring_prod__reserve(&umem->fq, buffers_to_fill, &idx); in xsk_populate_fill_ring()
|
/linux/tools/lib/bpf/ |
A D | xsk.h | 189 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() function
|
Completed in 12 milliseconds