Searched refs:sriov_enabled (Results 1 – 10 of 10) sorted by relevance
29 bool sriov_enabled; member
1283 if (!sriov_info->sriov_enabled) in hinic_pci_sriov_disable()1297 sriov_info->sriov_enabled = false; in hinic_pci_sriov_disable()1344 sriov_info->sriov_enabled = true; in hinic_pci_sriov_enable()
190 uint32_t sriov_enabled:1; /* whether the device runs under SR-IOV*/ member
498 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_create()584 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_destroy()
514 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_get_channels()623 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_set_channels()1149 if ((OCTEON_CN23XX_PF(oct)) && !oct->sriov_info.sriov_enabled) in lio_reset_queues()1168 !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1196 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1225 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1251 if (oct->sriov_info.sriov_enabled || OCTEON_CN23XX_VF(oct)) in lio_reset_queues()
389 u32 sriov_enabled; member
1092 if (oct->sriov_info.sriov_enabled) in octeon_destroy_resources()3805 oct->sriov_info.sriov_enabled = 1; in octeon_enable_sriov()3858 (oct->sriov_info.sriov_enabled)) { in liquidio_enable_sriov()
1302 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()4140 if (sriov_enabled(adapter)) in be_clear()4978 if (!sriov_enabled(adapter)) in be_ndo_bridge_setlink()
683 #define sriov_enabled(adapter) (adapter->flags & \ macro