Lines Matching refs:wqe_idx

16 				     struct irdma_puda_buf *buf, u32 wqe_idx);
80 static void irdma_puda_post_recvbuf(struct irdma_puda_rsrc *rsrc, u32 wqe_idx, in irdma_puda_post_recvbuf() argument
90 qp->qp_uk.rq_wrid_array[wqe_idx] = (uintptr_t)buf; in irdma_puda_post_recvbuf()
91 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_puda_post_recvbuf()
194 u32 *wqe_idx) in irdma_puda_get_next_send_wqe() argument
199 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_puda_get_next_send_wqe()
200 if (!*wqe_idx) in irdma_puda_get_next_send_wqe()
206 wqe = qp->sq_base[*wqe_idx].elem; in irdma_puda_get_next_send_wqe()
283 info->wqe_idx = (u32)FIELD_GET(IRDMA_CQ_WQEIDX, qword3); in irdma_puda_poll_info()
363 qp->rq_wrid_array[info.wqe_idx]; in irdma_puda_poll_cmpl()
374 info.wqe_idx); in irdma_puda_poll_cmpl()
383 rsrc->compl_rxwqe_idx = info.wqe_idx; in irdma_puda_poll_cmpl()
387 irdma_ilq_putback_rcvbuf(&rsrc->qp, buf, info.wqe_idx); in irdma_puda_poll_cmpl()
394 qp->sq_wrtrk_array[info.wqe_idx].wrid; in irdma_puda_poll_cmpl()
399 IRDMA_RING_SET_TAIL(qp->sq_ring, info.wqe_idx); in irdma_puda_poll_cmpl()
431 u32 wqe_idx; in irdma_puda_send() local
444 wqe = irdma_puda_get_next_send_wqe(&qp->qp_uk, &wqe_idx); in irdma_puda_send()
448 qp->qp_uk.sq_wrtrk_array[wqe_idx].wrid = (uintptr_t)info->scratch; in irdma_puda_send()
1125 struct irdma_puda_buf *buf, u32 wqe_idx) in irdma_ilq_putback_rcvbuf() argument
1133 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_ilq_putback_rcvbuf()
1689 u32 wqe_idx = ieq->compl_rxwqe_idx; in irdma_ieq_receive() local
1703 ieq->rx_wqe_idx = wqe_idx; in irdma_ieq_receive()