Searched refs:max_rqe_allocated (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2251 u32 max_rqe_allocated = attrs->cap.max_recv_wr + 1; ocrdma_set_create_qp_rq_cmd() local
2253 status = ocrdma_build_q_conf(&max_rqe_allocated, dev->attr.rqe_size, ocrdma_set_create_qp_rq_cmd()
2260 qp->rq.max_cnt = max_rqe_allocated; ocrdma_set_create_qp_rq_cmd()
2344 u32 max_wqe_allocated, max_rqe_allocated; ocrdma_get_create_qp_rsp() local
2363 max_rqe_allocated = 1 << ((u16)rsp->max_wqe_rqe); ocrdma_get_create_qp_rsp()
2369 qp->rq.max_cnt = max_rqe_allocated; ocrdma_get_create_qp_rsp()
2370 qp->rq.max_wqe_idx = max_rqe_allocated - 1; ocrdma_get_create_qp_rsp()
2746 u32 max_rqe_allocated; ocrdma_mbx_create_srq() local
2753 max_rqe_allocated = srq_attr->attr.max_wr + 1; ocrdma_mbx_create_srq()
2754 status = ocrdma_build_q_conf(&max_rqe_allocated, ocrdma_mbx_create_srq()
2774 srq->rq.max_cnt = max_rqe_allocated; ocrdma_mbx_create_srq()
2776 cmd->max_sge_rqe = ilog2(max_rqe_allocated); ocrdma_mbx_create_srq()
2793 max_rqe_allocated = ((rsp->max_sge_rqe_allocated & ocrdma_mbx_create_srq()
2796 max_rqe_allocated = (1 << max_rqe_allocated); ocrdma_mbx_create_srq()
2797 srq->rq.max_cnt = max_rqe_allocated; ocrdma_mbx_create_srq()
2798 srq->rq.max_wqe_idx = max_rqe_allocated - 1; ocrdma_mbx_create_srq()

Completed in 51 milliseconds