Lines Matching refs:rattr
3123 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_setup_nqs() local
3149 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_setup_nqs()
3150 rattr.pages = nq->hwq.pbl[rdev->nqr.nq[i].hwq.level].pg_count; in bnxt_re_setup_nqs()
3151 rattr.type = bnxt_re_get_rtype(rdev); in bnxt_re_setup_nqs()
3152 rattr.mode = HWRM_RING_ALLOC_INPUT_INT_MODE_MSIX; in bnxt_re_setup_nqs()
3153 rattr.depth = nq->hwq.max_elements - 1; in bnxt_re_setup_nqs()
3154 rattr.lrid = rdev->nqr.msix_entries[i + 1].ring_idx; in bnxt_re_setup_nqs()
3158 rattr.flags = HWRM_RING_ALLOC_INPUT_FLAGS_NQ_DBR_PACING; in bnxt_re_setup_nqs()
3160 rattr.flags = 0; in bnxt_re_setup_nqs()
3162 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_setup_nqs()
3535 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_dev_init() local
3581 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
3582 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init()
3583 rattr.type = bnxt_re_get_rtype(rdev); in bnxt_re_dev_init()
3584 rattr.mode = HWRM_RING_ALLOC_INPUT_INT_MODE_MSIX; in bnxt_re_dev_init()
3585 rattr.depth = BNXT_QPLIB_CREQE_MAX_CNT - 1; in bnxt_re_dev_init()
3586 rattr.lrid = rdev->nqr.msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_dev_init()
3587 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bnxt_re_dev_init()