Lines Matching refs:rattr
1741 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_alloc_res() local
1774 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1775 rattr.pages = nq->hwq.pbl[rdev->nqr->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
1776 rattr.type = type; in bnxt_re_alloc_res()
1777 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_alloc_res()
1778 rattr.depth = BNXT_QPLIB_NQE_MAX_CNT - 1; in bnxt_re_alloc_res()
1779 rattr.lrid = rdev->nqr->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
1780 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_alloc_res()
2076 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_dev_init() local
2143 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
2144 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init()
2145 rattr.type = type; in bnxt_re_dev_init()
2146 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_dev_init()
2147 rattr.depth = BNXT_QPLIB_CREQE_MAX_CNT - 1; in bnxt_re_dev_init()
2148 rattr.lrid = rdev->nqr->msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_dev_init()
2149 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bnxt_re_dev_init()