Searched refs:idx_fq (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/samples/bpf/ |
D | xdpsock_user.c | 1128 u32 idx_cq = 0, idx_fq = 0; in complete_tx_l2fwd() local 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() 1167 *xsk_ring_prod__fill_addr(&umem->fq, idx_fq++) = in complete_tx_l2fwd() 1200 u32 idx_rx = 0, idx_fq = 0; in rx_drop() local 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() 1232 *xsk_ring_prod__fill_addr(&xsk->umem->fq, idx_fq++) = orig; in rx_drop()
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | xdpxceiver.c | 577 u32 idx_rx = 0, idx_fq = 0, rcvd, i, pkt_count = 0; in receive_pkts() local 593 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in receive_pkts() 602 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in receive_pkts() 614 *xsk_ring_prod__fill_addr(&xsk->umem->fq, idx_fq++) = orig; in receive_pkts()
|