Lines Matching refs:ukqp
641 struct irdma_qp_uk *ukqp = &qp->qp_uk; in irdma_puda_qp_create() local
667 ukqp->sq_base = mem->va; in irdma_puda_qp_create()
668 ukqp->rq_base = &ukqp->sq_base[rsrc->sq_size]; in irdma_puda_qp_create()
669 ukqp->shadow_area = ukqp->rq_base[rsrc->rq_size].elem; in irdma_puda_qp_create()
670 ukqp->uk_attrs = &qp->dev->hw_attrs.uk_attrs; in irdma_puda_qp_create()
672 qp->hw_host_ctx = ukqp->shadow_area + IRDMA_SHADOW_AREA_SIZE; in irdma_puda_qp_create()
675 ukqp->qp_id = rsrc->qp_id; in irdma_puda_qp_create()
676 ukqp->sq_wrtrk_array = rsrc->sq_wrtrk_array; in irdma_puda_qp_create()
677 ukqp->rq_wrid_array = rsrc->rq_wrid_array; in irdma_puda_qp_create()
678 ukqp->sq_size = rsrc->sq_size; in irdma_puda_qp_create()
679 ukqp->rq_size = rsrc->rq_size; in irdma_puda_qp_create()
681 IRDMA_RING_INIT(ukqp->sq_ring, ukqp->sq_size); in irdma_puda_qp_create()
682 IRDMA_RING_INIT(ukqp->initial_ring, ukqp->sq_size); in irdma_puda_qp_create()
683 IRDMA_RING_INIT(ukqp->rq_ring, ukqp->rq_size); in irdma_puda_qp_create()
684 ukqp->wqe_alloc_db = qp->pd->dev->wqe_alloc_db; in irdma_puda_qp_create()