Searched refs:wqe_idx (Results 1 – 2 of 2) sorted by relevance
1711 u32 qpn = 0, wqe_idx = 0; in ocrdma_discard_cqes() local1744 wqe_idx = (le32_to_cpu(cqe->rq.buftag_qpn) >> in ocrdma_discard_cqes()1747 if (wqe_idx < 1) in ocrdma_discard_cqes()1751 ocrdma_srq_toggle_bit(qp->srq, wqe_idx - 1); in ocrdma_discard_cqes()2524 u32 wqe_idx) in ocrdma_update_wc() argument2530 hdr = ocrdma_hwq_head_from_idx(&qp->sq, wqe_idx); in ocrdma_update_wc()2532 ibwc->wr_id = qp->wqe_wr_id_tbl[wqe_idx].wrid; in ocrdma_update_wc()2685 u32 wqe_idx; in ocrdma_poll_success_scqe() local2696 wqe_idx = (le32_to_cpu(cqe->wq.wqeidx) & in ocrdma_poll_success_scqe()2698 if (tail != wqe_idx) in ocrdma_poll_success_scqe()[all …]
1131 u32 wqe_idx; in calc_left_cqes() local1146 wqe_idx = q_ofs / ipz_queue->qe_size; in calc_left_cqes()1149 while (tail_idx != wqe_idx) { in calc_left_cqes()1155 qmap->next_wqe_idx = wqe_idx; in calc_left_cqes()