Lines Matching refs:fq
81 struct xsk_ring_prod fq; member
300 ret = xsk_umem__create(&umem->umem, buffer, size, &umem->fq, &umem->cq, in xsk_configure_umem()
337 ret = xsk_ring_prod__reserve(&xsk->umem->fq, in xsk_configure_socket()
343 *xsk_ring_prod__fill_addr(&xsk->umem->fq, idx++) = in xsk_configure_socket()
345 xsk_ring_prod__submit(&xsk->umem->fq, in xsk_configure_socket()
509 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq); in complete_tx_l2fwd()
513 if (xsk_ring_prod__needs_wakeup(&umem->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()
522 xsk_ring_prod__submit(&xsk->umem->fq, rcvd); in complete_tx_l2fwd()
556 if (xsk_ring_prod__needs_wakeup(&xsk->umem->fq)) in rx_drop()
561 ret = xsk_ring_prod__reserve(&xsk->umem->fq, rcvd, &idx_fq); in rx_drop()
565 if (xsk_ring_prod__needs_wakeup(&xsk->umem->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()
582 xsk_ring_prod__submit(&xsk->umem->fq, rcvd); in rx_drop()
671 if (xsk_ring_prod__needs_wakeup(&xsk->umem->fq)) in l2fwd()