Home
last modified time | relevance | path

Searched refs:idx_fq (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/samples/bpf/
H A Dxdpsock_user.c1105 u32 idx_cq = 0, idx_fq = 0; in complete_tx_l2fwd() local
1131 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
1139 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
1143 *xsk_ring_prod__fill_addr(&umem->fq, idx_fq++) = in complete_tx_l2fwd()
1178 u32 idx_rx = 0, idx_fq = 0; in rx_drop() local
1190 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
1198 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
1210 *xsk_ring_prod__fill_addr(&xsk->umem->fq, idx_fq++) = orig; in rx_drop()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dxskxceiver.c972 u32 idx_rx = 0, idx_fq = 0, rcvd, pkts_sent = 0; in receive_pkts() local
1019 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts()
1028 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in receive_pkts()
1055 *xsk_ring_prod__fill_addr(&umem->fq, idx_fq++) = orig; in receive_pkts()
1075 idx_fq -= nb_frags; in receive_pkts()

Completed in 6 milliseconds