Searched refs:sriov_enabled (Results 1 – 9 of 9) sorted by relevance
29 bool sriov_enabled; member
1270 if (!sriov_info->sriov_enabled) in hinic_pci_sriov_disable()1284 sriov_info->sriov_enabled = false; in hinic_pci_sriov_disable()1331 sriov_info->sriov_enabled = true; in hinic_pci_sriov_enable()
499 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_create()585 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_destroy()
511 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_get_channels()620 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_set_channels()1144 if ((OCTEON_CN23XX_PF(oct)) && !oct->sriov_info.sriov_enabled) in lio_reset_queues()1163 !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1191 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1220 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1246 if (oct->sriov_info.sriov_enabled || OCTEON_CN23XX_VF(oct)) in lio_reset_queues()
389 u32 sriov_enabled; member
1106 if (oct->sriov_info.sriov_enabled) in octeon_destroy_resources()3800 oct->sriov_info.sriov_enabled = 1; in octeon_enable_sriov()3853 (oct->sriov_info.sriov_enabled)) { in liquidio_enable_sriov()
1304 oct->sriov_info.sriov_enabled = 0; in cn23xx_sriov_config()
1861 if (!sriov_enabled(adapter)) in be_set_vf_mac()1901 if (!sriov_enabled(adapter)) in be_get_vf_config()1982 if (!sriov_enabled(adapter)) in be_set_vf_vlan()2018 if (!sriov_enabled(adapter)) in be_set_vf_tx_rate()2077 if (!sriov_enabled(adapter)) in be_set_vf_link_state()2102 if (!sriov_enabled(adapter)) in be_set_vf_spoofchk()4139 if (sriov_enabled(adapter)) in be_clear()4984 if (!sriov_enabled(adapter)) in be_ndo_bridge_setlink()
684 #define sriov_enabled(adapter) (adapter->flags & \ macro