Home
last modified time | relevance | path

Searched refs:idx_rx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c972 u32 idx_rx = 0, idx_fq = 0, rcvd, pkts_sent = 0; in receive_pkts() local
1014 rcvd = xsk_ring_cons__peek(&xsk->rx, BATCH_SIZE, &idx_rx); in receive_pkts()
1033 const struct xdp_desc *desc = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx++); in receive_pkts()
1072 idx_rx -= nb_frags; in receive_pkts()
/openbmc/linux/Documentation/networking/
H A Daf_xdp.rst639 u32 idx_rx = 0, idx_fq = 0;
642 int rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx);
647 struct xdp_desc *desc = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx++);