Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c66 adapter->vfinfo = kcalloc(num_vfs, sizeof(struct vf_data_storage), in __ixgbe_enable_sriov()
68 if (!adapter->vfinfo) in __ixgbe_enable_sriov()
98 adapter->vfinfo[i].spoofchk_enabled = true; in __ixgbe_enable_sriov()
99 adapter->vfinfo[i].link_enable = true; in __ixgbe_enable_sriov()
106 adapter->vfinfo[i].rss_query_enabled = false; in __ixgbe_enable_sriov()
109 adapter->vfinfo[i].trusted = false; in __ixgbe_enable_sriov()
112 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE; in __ixgbe_enable_sriov()
146 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
218 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov()
222 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
[all …]
Dixgbe_dcb_nl.c651 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_dcbnl_ieee_setapp() local
653 if (!vfinfo->pf_qos) in ixgbe_dcbnl_ieee_setapp()
654 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_setapp()
696 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_dcbnl_ieee_delapp() local
698 if (!vfinfo->pf_qos) in ixgbe_dcbnl_ieee_delapp()
699 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_delapp()
Dixgbe_ipsec.c896 if (!adapter->vfinfo[vf].trusted || in ixgbe_ipsec_vf_add_sa()
1001 if (!adapter->vfinfo[vf].trusted) { in ixgbe_ipsec_vf_del_sa()
Dixgbe.h746 struct vf_data_storage *vfinfo; member
Dixgbe_main.c4245 adapter->vfinfo[i].spoofchk_enabled); in ixgbe_configure_virtualization()
4249 adapter->vfinfo[i].rss_query_enabled); in ixgbe_configure_virtualization()
6149 adapter->vfinfo[i].clear_to_send = false; in ixgbe_down()
7626 adapter->vfinfo[vf].primary_abort_count++; in ixgbe_bad_vf_abort()
7627 if (adapter->vfinfo[vf].primary_abort_count == in ixgbe_bad_vf_abort()
7631 adapter->vfinfo[vf].primary_abort_count = 0; in ixgbe_bad_vf_abort()
7636 adapter->vfinfo[vf].vf_mac_addresses); in ixgbe_bad_vf_abort()
7665 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf()
9348 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action()
Dixgbe_ethtool.c2174 if (adapter->vfinfo[i].clear_to_send) { in ixgbe_diag_test()
3540 adapter->vfinfo[i].primary_abort_count = 0; in ixgbe_set_priv_flags()
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.c557 struct vf_data_storage *vfinfo; in hinic_get_vf_config() local
559 vfinfo = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_get_vf_config()
562 memcpy(ivi->mac, vfinfo->vf_mac_addr, ETH_ALEN); in hinic_get_vf_config()
563 ivi->vlan = vfinfo->pf_vlan; in hinic_get_vf_config()
564 ivi->qos = vfinfo->pf_qos; in hinic_get_vf_config()
565 ivi->spoofchk = vfinfo->spoofchk; in hinic_get_vf_config()
566 ivi->trusted = vfinfo->trust; in hinic_get_vf_config()
567 ivi->max_tx_rate = vfinfo->max_rate; in hinic_get_vf_config()
568 ivi->min_tx_rate = vfinfo->min_rate; in hinic_get_vf_config()
570 if (!vfinfo->link_forced) in hinic_get_vf_config()
[all …]
/linux-5.19.10/drivers/crypto/cavium/cpt/
Dcptpf.h48 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member
Dcptpf_mbox.c88 struct cpt_vf_info *vfx = &cpt->vfinfo[vf]; in cpt_handle_mbox_intr()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c3230 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); in cxgb4_mgmt_fill_vf_station_mac_addr()
3252 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, mac); in cxgb4_mgmt_set_vf_mac()
3261 struct vf_info *vfinfo; in cxgb4_mgmt_get_vf_config() local
3265 vfinfo = &adap->vfinfo[vf]; in cxgb4_mgmt_get_vf_config()
3268 ivi->max_tx_rate = vfinfo->tx_rate; in cxgb4_mgmt_get_vf_config()
3270 ether_addr_copy(ivi->mac, vfinfo->vf_mac_addr); in cxgb4_mgmt_get_vf_config()
3271 ivi->vlan = vfinfo->vlan; in cxgb4_mgmt_get_vf_config()
3272 ivi->linkstate = vfinfo->link_state; in cxgb4_mgmt_get_vf_config()
3326 adap->vfinfo[vf].tx_rate = 0; in cxgb4_mgmt_set_vf_rate()
3385 adap->vfinfo[vf].tx_rate = max_tx_rate; in cxgb4_mgmt_set_vf_rate()
[all …]
Dcxgb4.h1138 struct vf_info *vfinfo; member
/linux-5.19.10/net/core/
Drtnetlink.c1257 struct nlattr *vfinfo) in rtnl_fill_vfinfo() argument
1396 nla_nest_cancel(skb, vfinfo); in rtnl_fill_vfinfo()
1404 struct nlattr *vfinfo; in rtnl_fill_vf() local
1417 vfinfo = nla_nest_start_noflag(skb, IFLA_VFINFO_LIST); in rtnl_fill_vf()
1418 if (!vfinfo) in rtnl_fill_vf()
1422 if (rtnl_fill_vfinfo(skb, dev, i, vfinfo)) in rtnl_fill_vf()
1426 nla_nest_end(skb, vfinfo); in rtnl_fill_vf()
2860 struct nlattr *vfinfo[IFLA_VF_MAX + 1]; in do_setlink() local
2870 err = nla_parse_nested_deprecated(vfinfo, IFLA_VF_MAX, in do_setlink()
2876 err = do_setvfinfo(dev, vfinfo); in do_setlink()