Searched refs:vfinfo (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_sriov.c | 68 adapter->vfinfo = kcalloc(num_vfs, sizeof(struct vf_data_storage), in __ixgbe_enable_sriov() 70 if (!adapter->vfinfo) in __ixgbe_enable_sriov() 100 adapter->vfinfo[i].spoofchk_enabled = true; in __ixgbe_enable_sriov() 101 adapter->vfinfo[i].link_enable = true; in __ixgbe_enable_sriov() 108 adapter->vfinfo[i].rss_query_enabled = false; in __ixgbe_enable_sriov() 111 adapter->vfinfo[i].trusted = false; in __ixgbe_enable_sriov() 114 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE; in __ixgbe_enable_sriov() 148 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs() 220 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() 224 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov() [all …]
|
H A D | ixgbe_main.c | 4504 adapter->vfinfo[i].spoofchk_enabled); in ixgbe_configure_virtualization() 4508 adapter->vfinfo[i].rss_query_enabled); in ixgbe_configure_virtualization() 5917 adapter->vfinfo[i].last_vfstats.gprc = in ixgbe_clear_vf_stats_counters() 5919 adapter->vfinfo[i].saved_rst_vfstats.gprc += in ixgbe_clear_vf_stats_counters() 5920 adapter->vfinfo[i].vfstats.gprc; in ixgbe_clear_vf_stats_counters() 5921 adapter->vfinfo[i].vfstats.gprc = 0; in ixgbe_clear_vf_stats_counters() 5922 adapter->vfinfo[i].last_vfstats.gptc = in ixgbe_clear_vf_stats_counters() 5924 adapter->vfinfo[i].saved_rst_vfstats.gptc += in ixgbe_clear_vf_stats_counters() 5925 adapter->vfinfo[i].vfstats.gptc; in ixgbe_clear_vf_stats_counters() 5926 adapter->vfinfo[i].vfstats.gptc = 0; in ixgbe_clear_vf_stats_counters() [all …]
|
H A D | ixgbe_ipsec.c | 902 if (!adapter->vfinfo[vf].trusted || in ixgbe_ipsec_vf_add_sa() 1007 if (!adapter->vfinfo[vf].trusted) { in ixgbe_ipsec_vf_del_sa()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
H 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 …]
|
/linux/drivers/crypto/cavium/cpt/ |
H A D | cptpf.h | 48 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member
|
H A D | cptpf_mbox.c | 88 struct cpt_vf_info *vfx = &cpt->vfinfo[vf]; in cpt_handle_mbox_intr()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 3220 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); in cxgb4_mgmt_fill_vf_station_mac_addr() 3242 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, mac); in cxgb4_mgmt_set_vf_mac() 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() 3260 ether_addr_copy(ivi->mac, vfinfo->vf_mac_addr); in cxgb4_mgmt_get_vf_config() 3261 ivi->vlan = vfinfo->vlan; in cxgb4_mgmt_get_vf_config() 3262 ivi->linkstate = vfinfo->link_state; in cxgb4_mgmt_get_vf_config() 3316 adap->vfinfo[vf].tx_rate = 0; in cxgb4_mgmt_set_vf_rate() 3375 adap->vfinfo[vf].tx_rate = max_tx_rate; in cxgb4_mgmt_set_vf_rate() [all …]
|
H A D | cxgb4.h | 1136 struct vf_info *vfinfo; member
|
/linux/net/core/ |
H A D | rtnetlink.c | 1626 struct nlattr *vfinfo; in rtnl_fill_vf() local 1639 vfinfo = nla_nest_start_noflag(skb, IFLA_VFINFO_LIST); in rtnl_fill_vf() 1640 if (!vfinfo) in rtnl_fill_vf() 1645 nla_nest_cancel(skb, vfinfo); in rtnl_fill_vf() 1650 nla_nest_end(skb, vfinfo); in rtnl_fill_vf() 3204 struct nlattr *vfinfo[IFLA_VF_MAX + 1]; in do_setlink() local 3214 err = nla_parse_nested_deprecated(vfinfo, IFLA_VF_MAX, in do_setlink() 3220 err = do_setvfinfo(dev, vfinfo); in do_setlink()
|