| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_sriov.c | 70 if (!adapter->vfinfo) in __ixgbe_enable_sriov() 230 kfree(adapter->vfinfo); in ixgbe_disable_sriov() 231 adapter->vfinfo = NULL; in ixgbe_disable_sriov() 373 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_set_vf_multicasts() local 424 vfinfo = &adapter->vfinfo[i]; in ixgbe_restore_vf_multicasts() 703 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_vf_reset_event() local 719 if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) { in ixgbe_vf_reset_event() 724 vfinfo->pf_qos, vf); in ixgbe_vf_reset_event() 961 if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted && in ixgbe_set_vf_mac_addr() 1002 if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted && in ixgbe_set_vf_macvlan_msg() [all …]
|
| A D | ixgbe_dcb_nl.c | 650 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_dcbnl_ieee_setapp() local 652 if (!vfinfo->pf_qos) in ixgbe_dcbnl_ieee_setapp() 653 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_setapp() 695 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_dcbnl_ieee_delapp() local 697 if (!vfinfo->pf_qos) in ixgbe_dcbnl_ieee_delapp() 698 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_delapp()
|
| A D | ixgbe_main.c | 6103 adapter->vfinfo[i].vfstats.gprc; in ixgbe_clear_vf_stats_counters() 6104 adapter->vfinfo[i].vfstats.gprc = 0; in ixgbe_clear_vf_stats_counters() 6108 adapter->vfinfo[i].vfstats.gptc; in ixgbe_clear_vf_stats_counters() 6109 adapter->vfinfo[i].vfstats.gptc = 0; in ixgbe_clear_vf_stats_counters() 6113 adapter->vfinfo[i].vfstats.gorc; in ixgbe_clear_vf_stats_counters() 6114 adapter->vfinfo[i].vfstats.gorc = 0; in ixgbe_clear_vf_stats_counters() 6118 adapter->vfinfo[i].vfstats.gotc; in ixgbe_clear_vf_stats_counters() 6119 adapter->vfinfo[i].vfstats.gotc = 0; in ixgbe_clear_vf_stats_counters() 6123 adapter->vfinfo[i].vfstats.mprc; in ixgbe_clear_vf_stats_counters() 6124 adapter->vfinfo[i].vfstats.mprc = 0; in ixgbe_clear_vf_stats_counters() [all …]
|
| A D | ixgbe_ipsec.c | 886 if (!adapter->vfinfo[vf].trusted || in ixgbe_ipsec_vf_add_sa() 991 if (!adapter->vfinfo[vf].trusted) { in ixgbe_ipsec_vf_del_sa()
|
| A D | ixgbe.h | 810 struct vf_data_storage *vfinfo; member
|
| A D | ixgbe_ethtool.c | 2267 if (adapter->vfinfo[i].clear_to_send) { in ixgbe_diag_test() 3698 adapter->vfinfo[i].primary_abort_count = 0; in ixgbe_set_priv_flags()
|
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_sriov.c | 56 kfree(wx->vfinfo); in wx_sriov_clear_data() 57 wx->vfinfo = NULL; in wx_sriov_clear_data() 93 if (!wx->vfinfo) in __wx_enable_sriov() 108 wx->vfinfo[i].trusted = false; in __wx_enable_sriov() 333 if (wx->vfinfo[vf].pf_vlan || wx->vfinfo[vf].pf_qos) in wx_get_vf_queues() 346 struct vf_data_storage *vfinfo = &wx->vfinfo[vf]; in wx_vf_reset_event() local 356 if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) { in wx_vf_reset_event() 361 vfinfo->pf_qos, vf); in wx_vf_reset_event() 453 struct vf_data_storage *vfinfo = &wx->vfinfo[vf]; in wx_set_vf_multicasts() local 574 wx->vfinfo[vf].vlan_count++; in wx_set_vf_vlan_msg() [all …]
|
| A D | wx_vf.c | 76 wx->vfinfo->vf_api = wx_mbox_api_null; in wx_reset_hw_vf() 247 if (wx->vfinfo->vf_api < wx_mbox_api_13) in wx_update_xcast_mode_vf() 423 wx->vfinfo->vf_api = api; in wx_negotiate_api_version() 435 if (wx->vfinfo->vf_api < wx_mbox_api_13) in wx_get_queues_vf()
|
| A D | wx_mbx.c | 406 wx->vfinfo = kzalloc(sizeof(struct vf_data_storage), in wx_init_mbx_params_vf() 408 if (!wx->vfinfo) in wx_init_mbx_params_vf()
|
| A D | wx_hw.c | 1222 struct vf_data_storage *vfinfo; in wx_restore_vf_multicasts() local 1227 vfinfo = &wx->vfinfo[i]; in wx_restore_vf_multicasts() 1228 for (j = 0; j < vfinfo->num_vf_mc_hashes; j++) { in wx_restore_vf_multicasts() 1230 vector_reg = WX_PSR_MC_TBL_REG(vfinfo->vf_mc_hashes[j]); in wx_restore_vf_multicasts() 1231 vector_bit = WX_PSR_MC_TBL_BIT(vfinfo->vf_mc_hashes[j]); in wx_restore_vf_multicasts() 1237 if (vfinfo->num_vf_mc_hashes) in wx_restore_vf_multicasts() 1473 wx->vfinfo[vf].spoofchk_enabled = setting; in wx_set_vf_spoofchk() 1478 if (wx->vfinfo[vf].vlan_count) in wx_set_vf_spoofchk() 1521 if (!wx->vfinfo[i].spoofchk_enabled) in wx_configure_virtualization()
|
| A D | wx_vf_common.c | 54 kfree(wx->vfinfo); in wxvf_remove()
|
| A D | wx_type.h | 1316 struct vf_data_storage *vfinfo; member
|
| /drivers/net/ethernet/huawei/hinic/ |
| A D | hinic_sriov.c | 576 struct vf_data_storage *vfinfo; in hinic_get_vf_config() local 578 vfinfo = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_get_vf_config() 581 memcpy(ivi->mac, vfinfo->vf_mac_addr, ETH_ALEN); in hinic_get_vf_config() 582 ivi->vlan = vfinfo->pf_vlan; in hinic_get_vf_config() 583 ivi->qos = vfinfo->pf_qos; in hinic_get_vf_config() 584 ivi->spoofchk = vfinfo->spoofchk; in hinic_get_vf_config() 585 ivi->trusted = vfinfo->trust; in hinic_get_vf_config() 586 ivi->max_tx_rate = vfinfo->max_rate; in hinic_get_vf_config() 587 ivi->min_tx_rate = vfinfo->min_rate; in hinic_get_vf_config() 589 if (!vfinfo->link_forced) in hinic_get_vf_config() [all …]
|
| /drivers/net/ethernet/wangxun/txgbevf/ |
| A D | txgbevf_main.c | 74 if (wx->vfinfo->vf_api >= wx_mbox_api_13) { in txgbevf_set_num_queues() 160 kfree(wx->vfinfo); in txgbevf_sw_init() 272 kfree(wx->vfinfo); in txgbevf_probe()
|
| /drivers/net/ethernet/wangxun/ngbevf/ |
| A D | ngbevf_main.c | 115 kfree(wx->vfinfo); in ngbevf_sw_init() 219 kfree(wx->vfinfo); in ngbevf_probe()
|
| /drivers/crypto/cavium/cpt/ |
| A D | cptpf.h | 48 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member
|
| A D | cptpf_mbox.c | 88 struct cpt_vf_info *vfx = &cpt->vfinfo[vf]; in cpt_handle_mbox_intr()
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_main.c | 3251 struct vf_info *vfinfo; in cxgb4_mgmt_get_vf_config() local 3255 vfinfo = &adap->vfinfo[vf]; in cxgb4_mgmt_get_vf_config() 3258 ivi->max_tx_rate = vfinfo->tx_rate; in cxgb4_mgmt_get_vf_config() 3261 ivi->vlan = vfinfo->vlan; in cxgb4_mgmt_get_vf_config() 3316 adap->vfinfo[vf].tx_rate = 0; in cxgb4_mgmt_set_vf_rate() 3394 adap->vfinfo[vf].vlan = vlan; in cxgb4_mgmt_set_vf_vlan() 6280 kfree(adap->vfinfo); in cxgb4_iov_configure() 6281 adap->vfinfo = NULL; in cxgb4_iov_configure() 6355 if (!adap->vfinfo) { in cxgb4_iov_configure() 6371 kfree(adap->vfinfo); in cxgb4_iov_configure() [all …]
|
| A D | cxgb4.h | 1136 struct vf_info *vfinfo; member
|
| /drivers/net/ethernet/wangxun/ngbe/ |
| A D | ngbe_main.c | 352 wx->vfinfo[i].clear_to_send = 0; in ngbe_disable_device()
|
| /drivers/net/ethernet/wangxun/txgbe/ |
| A D | txgbe_main.c | 248 wx->vfinfo[i].clear_to_send = 0; in txgbe_disable_device()
|