Lines Matching refs:wqe_idx
15 struct irdma_puda_buf *buf, u32 wqe_idx);
79 static void irdma_puda_post_recvbuf(struct irdma_puda_rsrc *rsrc, u32 wqe_idx, in irdma_puda_post_recvbuf() argument
89 qp->qp_uk.rq_wrid_array[wqe_idx] = (uintptr_t)buf; in irdma_puda_post_recvbuf()
90 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_puda_post_recvbuf()
192 u32 *wqe_idx) in irdma_puda_get_next_send_wqe() argument
196 *wqe_idx = IRDMA_RING_CURRENT_HEAD(qp->sq_ring); in irdma_puda_get_next_send_wqe()
197 if (!*wqe_idx) in irdma_puda_get_next_send_wqe()
203 return qp->sq_base[*wqe_idx].elem; in irdma_puda_get_next_send_wqe()
278 info->wqe_idx = (u32)FIELD_GET(IRDMA_CQ_WQEIDX, qword3); in irdma_puda_poll_info()
357 qp->rq_wrid_array[info.wqe_idx]; in irdma_puda_poll_cmpl()
368 info.wqe_idx); in irdma_puda_poll_cmpl()
377 rsrc->compl_rxwqe_idx = info.wqe_idx; in irdma_puda_poll_cmpl()
381 irdma_ilq_putback_rcvbuf(&rsrc->qp, buf, info.wqe_idx); in irdma_puda_poll_cmpl()
388 qp->sq_wrtrk_array[info.wqe_idx].wrid; in irdma_puda_poll_cmpl()
393 IRDMA_RING_SET_TAIL(qp->sq_ring, info.wqe_idx); in irdma_puda_poll_cmpl()
424 u32 wqe_idx; in irdma_puda_send() local
437 wqe = irdma_puda_get_next_send_wqe(&qp->qp_uk, &wqe_idx); in irdma_puda_send()
441 qp->qp_uk.sq_wrtrk_array[wqe_idx].wrid = (uintptr_t)info->scratch; in irdma_puda_send()
1115 struct irdma_puda_buf *buf, u32 wqe_idx) in irdma_ilq_putback_rcvbuf() argument
1123 wqe = qp->qp_uk.rq_base[wqe_idx].elem; in irdma_ilq_putback_rcvbuf()
1678 u32 wqe_idx = ieq->compl_rxwqe_idx; in irdma_ieq_receive() local
1692 ieq->rx_wqe_idx = wqe_idx; in irdma_ieq_receive()