Searched refs:vfinfo (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sriov.c | 66 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() 105 adapter->vfinfo[i].rss_query_enabled = 0; in __ixgbe_enable_sriov() 108 adapter->vfinfo[i].trusted = false; in __ixgbe_enable_sriov() 111 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE; in __ixgbe_enable_sriov() 145 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs() 214 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() 218 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov() 223 kfree(adapter->vfinfo); in ixgbe_disable_sriov() [all …]
|
D | ixgbe_dcb_nl.c | 651 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()
|
D | ixgbe.h | 730 struct vf_data_storage *vfinfo; member
|
D | ixgbe_main.c | 4189 adapter->vfinfo[i].spoofchk_enabled); in ixgbe_configure_virtualization() 4193 adapter->vfinfo[i].rss_query_enabled); in ixgbe_configure_virtualization() 6027 adapter->vfinfo[i].clear_to_send = false; in ixgbe_down() 7536 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_check_for_bad_vf() 9144 upper = pci_get_drvdata(adapter->vfinfo[vf].vfdev); in handle_redirect_action()
|
D | ixgbe_ethtool.c | 2077 if (adapter->vfinfo[i].clear_to_send) { in ixgbe_diag_test()
|
/Linux-v4.19/drivers/crypto/cavium/cpt/ |
D | cptpf.h | 51 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member
|
D | cptpf_mbox.c | 91 struct cpt_vf_info *vfx = &cpt->vfinfo[vf]; in cpt_handle_mbox_intr()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2674 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr); in cxgb4_mgmt_fill_vf_station_mac_addr() 2696 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, mac); in cxgb4_mgmt_set_vf_mac() 2705 struct vf_info *vfinfo; in cxgb4_mgmt_get_vf_config() local 2709 vfinfo = &adap->vfinfo[vf]; in cxgb4_mgmt_get_vf_config() 2712 ivi->max_tx_rate = vfinfo->tx_rate; in cxgb4_mgmt_get_vf_config() 2714 ether_addr_copy(ivi->mac, vfinfo->vf_mac_addr); in cxgb4_mgmt_get_vf_config() 2715 ivi->vlan = vfinfo->vlan; in cxgb4_mgmt_get_vf_config() 2807 adap->vfinfo[vf].tx_rate = max_tx_rate; in cxgb4_mgmt_set_vf_rate() 2826 adap->vfinfo[vf].vlan = vlan; in cxgb4_mgmt_set_vf_vlan() 5299 kfree(adap->vfinfo); in cxgb4_iov_configure() [all …]
|
D | cxgb4.h | 923 struct vf_info *vfinfo; member
|
/Linux-v4.19/net/core/ |
D | rtnetlink.c | 1191 struct nlattr *vfinfo) in rtnl_fill_vfinfo() argument 1311 nla_nest_cancel(skb, vfinfo); in rtnl_fill_vfinfo() 1319 struct nlattr *vfinfo; in rtnl_fill_vf() local 1332 vfinfo = nla_nest_start(skb, IFLA_VFINFO_LIST); in rtnl_fill_vf() 1333 if (!vfinfo) in rtnl_fill_vf() 1337 if (rtnl_fill_vfinfo(skb, dev, i, vfinfo)) in rtnl_fill_vf() 1341 nla_nest_end(skb, vfinfo); in rtnl_fill_vf() 2494 struct nlattr *vfinfo[IFLA_VF_MAX + 1]; in do_setlink() local 2504 err = nla_parse_nested(vfinfo, IFLA_VF_MAX, attr, in do_setlink() 2508 err = do_setvfinfo(dev, vfinfo); in do_setlink()
|