Lines Matching refs:vnics
5721 int cp_rings, int stats, int vnics) in __bnxt_hwrm_reserve_pf_rings() argument
5745 enables |= vnics ? FUNC_CFG_REQ_ENABLES_NUM_VNICS : 0; in __bnxt_hwrm_reserve_pf_rings()
5763 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_pf_rings()
5772 int stats, int vnics) in __bnxt_hwrm_reserve_vf_rings() argument
5790 enables |= vnics ? FUNC_VF_CFG_REQ_ENABLES_NUM_VNICS : 0; in __bnxt_hwrm_reserve_vf_rings()
5805 req->num_vnics = cpu_to_le16(vnics); in __bnxt_hwrm_reserve_vf_rings()
5812 int ring_grps, int cp_rings, int stats, int vnics) in bnxt_hwrm_reserve_pf_rings() argument
5818 cp_rings, stats, vnics); in bnxt_hwrm_reserve_pf_rings()
5835 int ring_grps, int cp_rings, int stats, int vnics) in bnxt_hwrm_reserve_vf_rings() argument
5846 cp_rings, stats, vnics); in bnxt_hwrm_reserve_vf_rings()
6008 int vnics) in bnxt_hwrm_check_vf_rings() argument
6018 cp_rings, stats, vnics); in bnxt_hwrm_check_vf_rings()
6035 int vnics) in bnxt_hwrm_check_pf_rings() argument
6042 cp_rings, stats, vnics); in bnxt_hwrm_check_pf_rings()
6063 int vnics) in bnxt_hwrm_check_rings() argument
6071 vnics); in bnxt_hwrm_check_rings()
6074 cp_rings, stats, vnics); in bnxt_hwrm_check_rings()
9706 int vnics, max_vnics, max_rss_ctxs; in bnxt_rfs_capable() local
9713 vnics = 1 + bp->rx_nr_rings; in bnxt_rfs_capable()
9720 if (vnics > max_vnics || vnics > max_rss_ctxs) { in bnxt_rfs_capable()
9731 if (vnics == bp->hw_resc.resv_vnics) in bnxt_rfs_capable()
9734 bnxt_hwrm_reserve_rings(bp, 0, 0, 0, 0, 0, vnics); in bnxt_rfs_capable()
9735 if (vnics <= bp->hw_resc.resv_vnics) in bnxt_rfs_capable()
10331 int cp, vnics, rc; in bnxt_check_rings() local
10347 vnics = 1; in bnxt_check_rings()
10349 vnics += rx_rings; in bnxt_check_rings()
10360 stats, vnics); in bnxt_check_rings()