Searched refs:xsk_ring_cons__peek (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/lib/bpf/ |
D | xsk.h | 138 static inline size_t xsk_ring_cons__peek(struct xsk_ring_cons *cons, in xsk_ring_cons__peek() function
|
/Linux-v5.10/samples/bpf/ |
D | xdpsock_user.c | 1126 rcvd = xsk_ring_cons__peek(&umem->cq, ndescs, &idx_cq); in complete_tx_l2fwd() 1167 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_tx_only() 1181 rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx); in rx_drop() 1343 rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx); in l2fwd()
|
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()
|