Lines Matching refs:max_rqe_allocated
2246 u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1; in ocrdma_set_create_qp_rq_cmd() local
2248 status = ocrdma_build_q_conf(&max_rqe_allocated, dev->attr.rqe_size, in ocrdma_set_create_qp_rq_cmd()
2255 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_set_create_qp_rq_cmd()
2337 u32 max_wqe_allocated, max_rqe_allocated; in ocrdma_get_create_qp_rsp() local
2356 max_rqe_allocated = 1 << ((u16)rsp->max_wqe_rqe); in ocrdma_get_create_qp_rsp()
2362 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_get_create_qp_rsp()
2363 qp->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_get_create_qp_rsp()
2754 u32 max_rqe_allocated; in ocrdma_mbx_create_srq() local
2761 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()
2762 status = ocrdma_build_q_conf(&max_rqe_allocated, in ocrdma_mbx_create_srq()
2782 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2784 cmd->max_sge_rqe = ilog2(max_rqe_allocated); in ocrdma_mbx_create_srq()
2801 max_rqe_allocated = ((rsp->max_sge_rqe_allocated & in ocrdma_mbx_create_srq()
2804 max_rqe_allocated = (1 << max_rqe_allocated); in ocrdma_mbx_create_srq()
2805 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2806 srq->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_mbx_create_srq()