Searched refs:xsk_ring_cons__peek (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_metadata.c | 200 if (ASSERT_EQ(xsk_ring_cons__peek(&xsk->comp, 1, &idx), 1, "xsk_ring_cons__peek")) { in complete_tx() 243 ret = xsk_ring_cons__peek(&xsk->rx, 1, &idx); in verify_xsk_metadata()
|
/openbmc/qemu/net/ |
H A D | af-xdp.c | 106 done = xsk_ring_cons__peek(&s->cq, XSK_RING_CONS__DEFAULT_NUM_DESCS, &idx); in af_xdp_complete_tx() 224 n_rx = xsk_ring_cons__peek(&s->rx, AF_XDP_BATCH_SIZE, &idx); in af_xdp_send()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xsk.h | 142 static inline __u32 xsk_ring_cons__peek(struct xsk_ring_cons *cons, __u32 nb, __u32 *idx) in xsk_ring_cons__peek() function
|
H A D | xdp_hw_metadata.c | 271 ret = xsk_ring_cons__peek(&xsk->rx, 1, &idx); in verify_metadata()
|
H A D | xskxceiver.c | 950 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_pkts() 1014 rcvd = xsk_ring_cons__peek(&xsk->rx, BATCH_SIZE, &idx_rx); in receive_pkts()
|
/openbmc/linux/Documentation/networking/ |
H A D | af_xdp.rst | 642 int rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx);
|