Searched refs:sriov_enabled (Results 1 – 10 of 10) sorted by relevance
29 bool sriov_enabled; member
1273 if (!sriov_info->sriov_enabled) in hinic_pci_sriov_disable()1287 sriov_info->sriov_enabled = false; in hinic_pci_sriov_disable()1334 sriov_info->sriov_enabled = true; in hinic_pci_sriov_enable()
189 uint32_t sriov_enabled:1; /* whether the device runs under SR-IOV*/ member
499 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_create()585 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_destroy()
512 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_get_channels()621 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_set_channels()1147 if ((OCTEON_CN23XX_PF(oct)) && !oct->sriov_info.sriov_enabled) in lio_reset_queues()1166 !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1194 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1223 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1249 if (oct->sriov_info.sriov_enabled || OCTEON_CN23XX_VF(oct)) in lio_reset_queues()
389 u32 sriov_enabled; member
1105 if (oct->sriov_info.sriov_enabled) in octeon_destroy_resources()3801 oct->sriov_info.sriov_enabled = 1; in octeon_enable_sriov()3854 (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()4977 if (!sriov_enabled(adapter)) in be_ndo_bridge_setlink()
683 #define sriov_enabled(adapter) (adapter->flags & \ macro