Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dxdpsock_user.c490 u32 idx_cq = 0, idx_fq = 0; in complete_tx_l2fwd() local
509 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
515 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
519 *xsk_ring_prod__fill_addr(&umem->fq, idx_fq++) = in complete_tx_l2fwd()
551 u32 idx_rx = 0, idx_fq = 0; in rx_drop() local
561 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
567 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
579 *xsk_ring_prod__fill_addr(&xsk->umem->fq, idx_fq++) = orig; in rx_drop()