Home
last modified time | relevance | path

Searched refs:vfinfo (Results 1 – 21 of 21) sorted by relevance

/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_sriov.c70 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 Dixgbe_dcb_nl.c650 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 Dixgbe_main.c6103 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 Dixgbe_ipsec.c886 if (!adapter->vfinfo[vf].trusted || in ixgbe_ipsec_vf_add_sa()
991 if (!adapter->vfinfo[vf].trusted) { in ixgbe_ipsec_vf_del_sa()
A Dixgbe.h810 struct vf_data_storage *vfinfo; member
A Dixgbe_ethtool.c2267 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 Dwx_sriov.c56 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 Dwx_vf.c76 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 Dwx_mbx.c406 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 Dwx_hw.c1222 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 Dwx_vf_common.c54 kfree(wx->vfinfo); in wxvf_remove()
A Dwx_type.h1316 struct vf_data_storage *vfinfo; member
/drivers/net/ethernet/huawei/hinic/
A Dhinic_sriov.c576 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 Dtxgbevf_main.c74 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 Dngbevf_main.c115 kfree(wx->vfinfo); in ngbevf_sw_init()
219 kfree(wx->vfinfo); in ngbevf_probe()
/drivers/crypto/cavium/cpt/
A Dcptpf.h48 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member
A Dcptpf_mbox.c88 struct cpt_vf_info *vfx = &cpt->vfinfo[vf]; in cpt_handle_mbox_intr()
/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_main.c3251 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 Dcxgb4.h1136 struct vf_info *vfinfo; member
/drivers/net/ethernet/wangxun/ngbe/
A Dngbe_main.c352 wx->vfinfo[i].clear_to_send = 0; in ngbe_disable_device()
/drivers/net/ethernet/wangxun/txgbe/
A Dtxgbe_main.c248 wx->vfinfo[i].clear_to_send = 0; in txgbe_disable_device()

Completed in 101 milliseconds