Lines Matching refs:max_rqe_allocated
2185 u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1; in ocrdma_set_create_qp_rq_cmd() local
2187 status = ocrdma_build_q_conf(&max_rqe_allocated, dev->attr.rqe_size, in ocrdma_set_create_qp_rq_cmd()
2194 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_set_create_qp_rq_cmd()
2278 u32 max_wqe_allocated, max_rqe_allocated; in ocrdma_get_create_qp_rsp() local
2297 max_rqe_allocated = 1 << ((u16)rsp->max_wqe_rqe); in ocrdma_get_create_qp_rsp()
2303 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_get_create_qp_rsp()
2304 qp->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_get_create_qp_rsp()
2676 u32 max_rqe_allocated; in ocrdma_mbx_create_srq() local
2683 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()
2684 status = ocrdma_build_q_conf(&max_rqe_allocated, in ocrdma_mbx_create_srq()
2704 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2706 cmd->max_sge_rqe = ilog2(max_rqe_allocated); in ocrdma_mbx_create_srq()
2723 max_rqe_allocated = ((rsp->max_sge_rqe_allocated & in ocrdma_mbx_create_srq()
2726 max_rqe_allocated = (1 << max_rqe_allocated); in ocrdma_mbx_create_srq()
2727 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2728 srq->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_mbx_create_srq()