Searched refs:xsk_ring_cons__peek (Results 1 – 4 of 4) sorted by relevance
/linux/samples/bpf/ |
A D | xdpsock_user.c | 1149 rcvd = xsk_ring_cons__peek(&umem->cq, ndescs, &idx_cq); in complete_tx_l2fwd() 1190 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_tx_only() 1203 rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx); in rx_drop() 1368 rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx); in l2fwd()
|
A D | xsk_fwd.c | 539 n_pkts = xsk_ring_cons__peek(&p->rxq, n_pkts, &pos); in port_rx_burst() 596 n_pkts = xsk_ring_cons__peek(&p->umem_cq, n_pkts, &pos); in port_tx_burst()
|
/linux/tools/lib/bpf/ |
A D | xsk.h | 208 static inline __u32 xsk_ring_cons__peek(struct xsk_ring_cons *cons, __u32 nb, __u32 *idx) in xsk_ring_cons__peek() function
|
/linux/tools/testing/selftests/bpf/ |
A D | xdpxceiver.c | 725 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_pkts() 751 rcvd = xsk_ring_cons__peek(&xsk->rx, BATCH_SIZE, &idx_rx); in receive_pkts()
|
Completed in 12 milliseconds