Home
last modified time | relevance | path

Searched refs:max_vnics (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnge/ !
H A Dbnge_resc.h30 u16 max_vnics; member
H A Dbnge_hwrm_lib.c563 hw_resc->max_vnics = le16_to_cpu(resp->max_vnics); in bnge_hwrm_func_resc_qcaps()
/linux/drivers/net/ethernet/broadcom/bnxt/ !
H A Dbnxt_sriov.c644 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg()
693 req->max_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_vf_resc_cfg()
730 hw_resc->max_vnics -= le16_to_cpu(req->min_vnics) * n; in bnxt_hwrm_func_vf_resc_cfg()
769 vf_vnics = (hw_resc->max_vnics - bp->nr_vnics) / num_vfs; in bnxt_hwrm_func_cfg()
828 hw_resc->max_vnics -= vf_vnics * num_vfs; in bnxt_hwrm_func_cfg()
902 if (hw_resc->max_vnics - bp->nr_vnics < min_rx_rings || in bnxt_sriov_enable()
H A Dbnxt.c9619 hw_resc->max_vnics = le16_to_cpu(resp->max_vnics); in bnxt_hwrm_func_resc_qcaps()
9624 hw_resc->max_vnics * BNXT_LARGE_RSS_TO_VNIC_RATIO) in bnxt_hwrm_func_resc_qcaps()
9810 hw_resc->max_vnics = le16_to_cpu(resp->max_vnics); in __bnxt_hwrm_func_qcaps()
11357 return bp->hw_resc.max_vnics; in bnxt_get_max_func_vnics()
13743 int max_vnics, max_rss_ctxs; in bnxt_rfs_capable() local
13757 max_vnics = bnxt_get_max_func_vnics(bp); in bnxt_rfs_capable()
13760 if (hwr.vnic > max_vnics || hwr.rss_ctx > max_rss_ctxs) { in bnxt_rfs_capable()
13764 min(max_rss_ctxs - 1, max_vnics - 1)); in bnxt_rfs_capable()
H A Dbnxt.h1362 u16 max_vnics; member
/linux/include/linux/bnxt/ !
H A Dhsi.h1820 __le16 max_vnics; member
2834 __le16 max_vnics; member
2875 __le16 max_vnics; member
/linux/include/linux/bnge/ !
H A Dhsi.h1831 __le16 max_vnics; member
2843 __le16 max_vnics; member
2884 __le16 max_vnics; member