Lines Matching refs:wqe_idx
1593 u32 qpn = 0, wqe_idx = 0; in ocrdma_discard_cqes() local
1626 wqe_idx = (le32_to_cpu(cqe->rq.buftag_qpn) >> in ocrdma_discard_cqes()
1629 BUG_ON(wqe_idx < 1); in ocrdma_discard_cqes()
1632 ocrdma_srq_toggle_bit(qp->srq, wqe_idx - 1); in ocrdma_discard_cqes()
2404 u32 wqe_idx) in ocrdma_update_wc() argument
2410 hdr = ocrdma_hwq_head_from_idx(&qp->sq, wqe_idx); in ocrdma_update_wc()
2412 ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid; in ocrdma_update_wc()
2565 u32 wqe_idx; in ocrdma_poll_success_scqe() local
2576 wqe_idx = (le32_to_cpu(cqe->wq.wqeidx) & in ocrdma_poll_success_scqe()
2578 if (tail != wqe_idx) in ocrdma_poll_success_scqe()
2634 u32 wqe_idx; in ocrdma_update_free_srq_cqe() local
2637 wqe_idx = (le32_to_cpu(cqe->rq.buftag_qpn) >> in ocrdma_update_free_srq_cqe()
2639 BUG_ON(wqe_idx < 1); in ocrdma_update_free_srq_cqe()
2641 ibwc->wr_id = srq->rqe_wr_id_tbl[wqe_idx]; in ocrdma_update_free_srq_cqe()
2643 ocrdma_srq_toggle_bit(srq, wqe_idx - 1); in ocrdma_update_free_srq_cqe()