Lines Matching refs:rq_size
166 rsrc->rx_wqe_idx = ((rsrc->rx_wqe_idx + 1) % rsrc->rq_size); in irdma_puda_replenish_rq()
689 u32 sq_size, rq_size; in irdma_puda_qp_create() local
693 rq_size = rsrc->rq_size * IRDMA_QP_WQE_MIN_SIZE; in irdma_puda_qp_create()
694 rsrc->qpmem.size = (sq_size + rq_size + (IRDMA_SHADOW_AREA_SIZE << 3) + in irdma_puda_qp_create()
704 qp->hw_rq_size = irdma_get_encoded_wqe_size(rsrc->rq_size, IRDMA_QUEUE_TYPE_SQ_RQ); in irdma_puda_qp_create()
714 ukqp->shadow_area = ukqp->rq_base[rsrc->rq_size].elem; in irdma_puda_qp_create()
716 qp->shadow_area_pa = qp->rq_pa + rq_size; in irdma_puda_qp_create()
724 ukqp->rq_size = rsrc->rq_size; in irdma_puda_qp_create()
728 IRDMA_RING_INIT(ukqp->rq_ring, ukqp->rq_size); in irdma_puda_qp_create()
1110 rqwridsize = info->rq_size * 8; in irdma_puda_create_rsrc()
1158 rsrc->rq_size = info->rq_size; in irdma_puda_create_rsrc()
1159 rsrc->cq_size = info->rq_size + info->sq_size; in irdma_puda_create_rsrc()
1162 rsrc->cq_size += info->rq_size; in irdma_puda_create_rsrc()
1183 ret = irdma_puda_allocbufs(rsrc, info->tx_buf_cnt + info->rq_size); in irdma_puda_create_rsrc()
1189 rsrc->rxq_invalid_cnt = info->rq_size; in irdma_puda_create_rsrc()