Home
last modified time | relevance | path

Searched refs:sriov_enabled (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.h29 bool sriov_enabled; member
Dhinic_sriov.c1269 if (!sriov_info->sriov_enabled) in hinic_pci_sriov_disable()
1283 sriov_info->sriov_enabled = false; in hinic_pci_sriov_disable()
1330 sriov_info->sriov_enabled = true; in hinic_pci_sriov_enable()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_rep.c499 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_create()
585 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_destroy()
Dlio_ethtool.c511 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()
Docteon_device.h389 u32 sriov_enabled; member
Dlio_main.c1106 if (oct->sriov_info.sriov_enabled) in octeon_destroy_resources()
3825 oct->sriov_info.sriov_enabled = 1; in octeon_enable_sriov()
3878 (oct->sriov_info.sriov_enabled)) { in liquidio_enable_sriov()
Dcn23xx_pf_device.c1304 oct->sriov_info.sriov_enabled = 0; in cn23xx_sriov_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_main.c1862 if (!sriov_enabled(adapter)) in be_set_vf_mac()
1902 if (!sriov_enabled(adapter)) in be_get_vf_config()
1983 if (!sriov_enabled(adapter)) in be_set_vf_vlan()
2019 if (!sriov_enabled(adapter)) in be_set_vf_tx_rate()
2078 if (!sriov_enabled(adapter)) in be_set_vf_link_state()
2103 if (!sriov_enabled(adapter)) in be_set_vf_spoofchk()
4140 if (sriov_enabled(adapter)) in be_clear()
4985 if (!sriov_enabled(adapter)) in be_ndo_bridge_setlink()
Dbe.h684 #define sriov_enabled(adapter) (adapter->flags & \ macro