Lines Matching refs:sq_size
657 u32 sq_size, rq_size; in irdma_puda_qp_create() local
660 sq_size = rsrc->sq_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()
672 qp->hw_sq_size = irdma_get_encoded_wqe_size(rsrc->sq_size, IRDMA_QUEUE_TYPE_SQ_RQ); in irdma_puda_qp_create()
679 qp->rq_pa = qp->sq_pa + sq_size; in irdma_puda_qp_create()
682 ukqp->rq_base = &ukqp->sq_base[rsrc->sq_size]; in irdma_puda_qp_create()
692 ukqp->sq_size = rsrc->sq_size; in irdma_puda_qp_create()
695 IRDMA_RING_INIT(ukqp->sq_ring, ukqp->sq_size); in irdma_puda_qp_create()
696 IRDMA_RING_INIT(ukqp->initial_ring, ukqp->sq_size); in irdma_puda_qp_create()
1022 sqwridsize = info->sq_size * sizeof(struct irdma_sq_uk_wr_trk_info); in irdma_puda_create_rsrc()
1066 rsrc->tx_wqe_avail_cnt = info->sq_size - 1; in irdma_puda_create_rsrc()
1070 rsrc->sq_size = info->sq_size; in irdma_puda_create_rsrc()
1072 rsrc->cq_size = info->rq_size + info->sq_size; in irdma_puda_create_rsrc()