Lines Matching refs:vnics
6234 int ring_grps, int cp_rings, int stats, int vnics) in __bnxt_hwrm_reserve_pf_rings() argument
6261 enables |= vnics ? FUNC_CFG_REQ_ENABLES_NUM_VNICS : 0; in __bnxt_hwrm_reserve_pf_rings()
6279 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_pf_rings()
6287 int ring_grps, int cp_rings, int stats, int vnics) in __bnxt_hwrm_reserve_vf_rings() argument
6308 enables |= vnics ? FUNC_VF_CFG_REQ_ENABLES_NUM_VNICS : 0; in __bnxt_hwrm_reserve_vf_rings()
6323 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_vf_rings()
6331 int ring_grps, int cp_rings, int stats, int vnics) in bnxt_hwrm_reserve_pf_rings() argument
6337 cp_rings, stats, vnics); in bnxt_hwrm_reserve_pf_rings()
6358 int ring_grps, int cp_rings, int stats, int vnics) in bnxt_hwrm_reserve_vf_rings() argument
6369 cp_rings, stats, vnics); in bnxt_hwrm_reserve_vf_rings()
6572 int vnics) in bnxt_hwrm_check_vf_rings() argument
6581 cp_rings, stats, vnics); in bnxt_hwrm_check_vf_rings()
6597 int vnics) in bnxt_hwrm_check_pf_rings() argument
6603 cp_rings, stats, vnics); in bnxt_hwrm_check_pf_rings()
6623 int vnics) in bnxt_hwrm_check_rings() argument
6631 vnics); in bnxt_hwrm_check_rings()
6634 cp_rings, stats, vnics); in bnxt_hwrm_check_rings()
11208 int vnics, max_vnics, max_rss_ctxs; in bnxt_rfs_capable() local
11215 vnics = 1 + bp->rx_nr_rings; in bnxt_rfs_capable()
11222 if (vnics > max_vnics || vnics > max_rss_ctxs) { in bnxt_rfs_capable()
11233 if (vnics == bp->hw_resc.resv_vnics) in bnxt_rfs_capable()
11236 bnxt_hwrm_reserve_rings(bp, 0, 0, 0, 0, 0, vnics); in bnxt_rfs_capable()
11237 if (vnics <= bp->hw_resc.resv_vnics) in bnxt_rfs_capable()
12169 int cp, vnics, rc; in bnxt_check_rings() local
12185 vnics = 1; in bnxt_check_rings()
12187 vnics += rx_rings; in bnxt_check_rings()
12198 stats, vnics); in bnxt_check_rings()