Searched refs:max_wqe_idx (Results 1 – 3 of 3) sorted by relevance
367 u32 max_wqe_idx; member
1553 return ((q->max_wqe_idx - q->head) + q->tail) % q->max_cnt; in ocrdma_hwq_free_cnt()1579 q->head = (q->head + 1) & q->max_wqe_idx; in ocrdma_hwq_inc_head()1584 q->tail = (q->tail + 1) & q->max_wqe_idx; in ocrdma_hwq_inc_tail()1630 qp->srq->rq.max_wqe_idx; in ocrdma_discard_cqes()2575 OCRDMA_CQE_WQEIDX_MASK) & qp->sq.max_wqe_idx; in ocrdma_poll_success_scqe()2636 OCRDMA_CQE_BUFTAG_SHIFT) & srq->rq.max_wqe_idx; in ocrdma_update_free_srq_cqe()
2355 qp->sq.max_wqe_idx = max_wqe_allocated - 1; in ocrdma_get_create_qp_rsp()2359 qp->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_get_create_qp_rsp()2802 srq->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_mbx_create_srq()