Lines Matching refs:max_rqe_allocated
2242 u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1; in ocrdma_set_create_qp_rq_cmd() local
2244 status = ocrdma_build_q_conf(&max_rqe_allocated, dev->attr.rqe_size, in ocrdma_set_create_qp_rq_cmd()
2251 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_set_create_qp_rq_cmd()
2333 u32 max_wqe_allocated, max_rqe_allocated; in ocrdma_get_create_qp_rsp() local
2352 max_rqe_allocated = 1 << ((u16)rsp->max_wqe_rqe); in ocrdma_get_create_qp_rsp()
2358 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_get_create_qp_rsp()
2359 qp->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_get_create_qp_rsp()
2750 u32 max_rqe_allocated; in ocrdma_mbx_create_srq() local
2757 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()
2758 status = ocrdma_build_q_conf(&max_rqe_allocated, in ocrdma_mbx_create_srq()
2778 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2780 cmd->max_sge_rqe = ilog2(max_rqe_allocated); in ocrdma_mbx_create_srq()
2797 max_rqe_allocated = ((rsp->max_sge_rqe_allocated & in ocrdma_mbx_create_srq()
2800 max_rqe_allocated = (1 << max_rqe_allocated); in ocrdma_mbx_create_srq()
2801 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2802 srq->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_mbx_create_srq()