Lines Matching refs:rattr
1014 struct bnxt_re_ring_attr rattr = {}; in bnxt_re_alloc_res() local
1049 rattr.dma_arr = nq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_alloc_res()
1050 rattr.pages = nq->hwq.pbl[rdev->nq[i].hwq.level].pg_count; in bnxt_re_alloc_res()
1051 rattr.type = type; in bnxt_re_alloc_res()
1052 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_alloc_res()
1053 rattr.depth = BNXT_QPLIB_NQE_MAX_CNT - 1; in bnxt_re_alloc_res()
1054 rattr.lrid = rdev->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
1055 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &nq->ring_id); in bnxt_re_alloc_res()
1403 struct bnxt_re_ring_attr rattr; in bnxt_re_dev_init() local
1410 memset(&rattr, 0, sizeof(rattr)); in bnxt_re_dev_init()
1453 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init()
1454 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init()
1455 rattr.type = type; in bnxt_re_dev_init()
1456 rattr.mode = RING_ALLOC_REQ_INT_MODE_MSIX; in bnxt_re_dev_init()
1457 rattr.depth = BNXT_QPLIB_CREQE_MAX_CNT - 1; in bnxt_re_dev_init()
1458 rattr.lrid = rdev->msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_dev_init()
1459 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bnxt_re_dev_init()