Lines Matching refs:rq_size
129 rsrc->rx_wqe_idx = ((rsrc->rx_wqe_idx + 1) % rsrc->rq_size); in irdma_puda_replenish_rq()
657 u32 sq_size, rq_size; in irdma_puda_qp_create() local
661 rq_size = rsrc->rq_size * IRDMA_QP_WQE_MIN_SIZE; in irdma_puda_qp_create()
662 rsrc->qpmem.size = ALIGN((sq_size + rq_size + (IRDMA_SHADOW_AREA_SIZE << 3) + IRDMA_QP_CTX_SIZE), in irdma_puda_qp_create()
673 qp->hw_rq_size = irdma_get_encoded_wqe_size(rsrc->rq_size, IRDMA_QUEUE_TYPE_SQ_RQ); in irdma_puda_qp_create()
683 ukqp->shadow_area = ukqp->rq_base[rsrc->rq_size].elem; in irdma_puda_qp_create()
685 qp->shadow_area_pa = qp->rq_pa + rq_size; in irdma_puda_qp_create()
693 ukqp->rq_size = rsrc->rq_size; in irdma_puda_qp_create()
697 IRDMA_RING_INIT(ukqp->rq_ring, ukqp->rq_size); in irdma_puda_qp_create()
1023 rqwridsize = info->rq_size * 8; in irdma_puda_create_rsrc()
1071 rsrc->rq_size = info->rq_size; in irdma_puda_create_rsrc()
1072 rsrc->cq_size = info->rq_size + info->sq_size; in irdma_puda_create_rsrc()
1075 rsrc->cq_size += info->rq_size; in irdma_puda_create_rsrc()
1096 ret = irdma_puda_allocbufs(rsrc, info->tx_buf_cnt + info->rq_size); in irdma_puda_create_rsrc()
1102 rsrc->rxq_invalid_cnt = info->rq_size; in irdma_puda_create_rsrc()