Lines Matching refs:rattr
1156 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_alloc_res() local
1190 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1191 rattr.pages = nq->hwq.pbl[rdev->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
1192 rattr.type = type; in bnxt_re_alloc_res()
1193 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_alloc_res()
1194 rattr.depth = BNXT_QPLIB_NQE_MAX_CNT - 1; in bnxt_re_alloc_res()
1195 rattr.lrid = rdev->en_dev->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
1196 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_alloc_res()
1455 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_dev_init() local
1508 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
1509 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init()
1510 rattr.type = type; in bnxt_re_dev_init()
1511 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_dev_init()
1512 rattr.depth = BNXT_QPLIB_CREQE_MAX_CNT - 1; in bnxt_re_dev_init()
1513 rattr.lrid = rdev->en_dev->msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_dev_init()
1514 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bnxt_re_dev_init()