Lines Matching refs:max_rqe_allocated
2251 u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1; in ocrdma_set_create_qp_rq_cmd() local
2253 status = ocrdma_build_q_conf(&max_rqe_allocated, dev->attr.rqe_size, in ocrdma_set_create_qp_rq_cmd()
2260 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_set_create_qp_rq_cmd()
2344 u32 max_wqe_allocated, max_rqe_allocated; in ocrdma_get_create_qp_rsp() local
2363 max_rqe_allocated = 1 << ((u16)rsp->max_wqe_rqe); in ocrdma_get_create_qp_rsp()
2369 qp->rq.max_cnt = max_rqe_allocated; in ocrdma_get_create_qp_rsp()
2370 qp->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_get_create_qp_rsp()
2746 u32 max_rqe_allocated; in ocrdma_mbx_create_srq() local
2753 max_rqe_allocated = srq_attr->attr.max_wr + 1; in ocrdma_mbx_create_srq()
2754 status = ocrdma_build_q_conf(&max_rqe_allocated, in ocrdma_mbx_create_srq()
2774 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2776 cmd->max_sge_rqe = ilog2(max_rqe_allocated); in ocrdma_mbx_create_srq()
2793 max_rqe_allocated = ((rsp->max_sge_rqe_allocated & in ocrdma_mbx_create_srq()
2796 max_rqe_allocated = (1 << max_rqe_allocated); in ocrdma_mbx_create_srq()
2797 srq->rq.max_cnt = max_rqe_allocated; in ocrdma_mbx_create_srq()
2798 srq->rq.max_wqe_idx = max_rqe_allocated - 1; in ocrdma_mbx_create_srq()