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

/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c67 adapter->vfinfo = kcalloc(num_vfs, sizeof(struct vf_data_storage),
69 if (!adapter->vfinfo)
99 adapter->vfinfo[i].spoofchk_enabled = true;
100 adapter->vfinfo[i].link_enable = true;
107 adapter->vfinfo[i].rss_query_enabled = false;
110 adapter->vfinfo[i].trusted = false;
113 adapter->vfinfo[i].xcast_mode = IXGBEVF_XCAST_MODE_NONE;
147 adapter->vfinfo[vf].vfdev = vfdev;
213 /* set num VFs to 0 to prevent access to vfinfo */
219 struct pci_dev *vfdev = adapter->vfinfo[v
368 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; local
411 struct vf_data_storage *vfinfo; local
698 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; local
[all...]
H A Dixgbe_dcb_nl.c649 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; local
651 if (!vfinfo->pf_qos)
652 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan,
694 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; local
696 if (!vfinfo->pf_qos)
697 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan,
H A Dixgbe_main.c4265 adapter->vfinfo[i].spoofchk_enabled);
4269 adapter->vfinfo[i].rss_query_enabled);
5585 adapter->vfinfo[i].last_vfstats.gprc =
5587 adapter->vfinfo[i].saved_rst_vfstats.gprc +=
5588 adapter->vfinfo[i].vfstats.gprc;
5589 adapter->vfinfo[i].vfstats.gprc = 0;
5590 adapter->vfinfo[i].last_vfstats.gptc =
5592 adapter->vfinfo[i].saved_rst_vfstats.gptc +=
5593 adapter->vfinfo[i].vfstats.gptc;
5594 adapter->vfinfo[
[all...]
H A Dixgbe_ipsec.c902 if (!adapter->vfinfo[vf].trusted ||
1007 if (!adapter->vfinfo[vf].trusted) {
H A Dixgbe.h787 struct vf_data_storage *vfinfo; member in struct:ixgbe_adapter
H A Dixgbe_ethtool.c2202 if (adapter->vfinfo[i].clear_to_send) {
3574 adapter->vfinfo[i].primary_abort_count = 0;
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptpf.h48 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member in struct:cpt_device
H A Dcptpf_mbox.c88 struct cpt_vf_info *vfx = &cpt->vfinfo[vf];
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c576 struct vf_data_storage *vfinfo; local
578 vfinfo = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id);
581 memcpy(ivi->mac, vfinfo->vf_mac_addr, ETH_ALEN);
582 ivi->vlan = vfinfo->pf_vlan;
583 ivi->qos = vfinfo->pf_qos;
584 ivi->spoofchk = vfinfo->spoofchk;
585 ivi->trusted = vfinfo->trust;
586 ivi->max_tx_rate = vfinfo->max_rate;
587 ivi->min_tx_rate = vfinfo->min_rate;
589 if (!vfinfo
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c3229 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, macaddr);
3251 ether_addr_copy(adap->vfinfo[vf].vf_mac_addr, mac);
3260 struct vf_info *vfinfo; local
3264 vfinfo = &adap->vfinfo[vf];
3267 ivi->max_tx_rate = vfinfo->tx_rate;
3269 ether_addr_copy(ivi->mac, vfinfo->vf_mac_addr);
3270 ivi->vlan = vfinfo->vlan;
3271 ivi->linkstate = vfinfo->link_state;
3325 adap->vfinfo[v
[all...]
H A Dcxgb4.h1136 struct vf_info *vfinfo; member in struct:adapter
/linux-master/net/core/
H A Drtnetlink.c1430 struct nlattr *vfinfo; local
1443 vfinfo = nla_nest_start_noflag(skb, IFLA_VFINFO_LIST);
1444 if (!vfinfo)
1449 nla_nest_cancel(skb, vfinfo);
1454 nla_nest_end(skb, vfinfo);
2970 struct nlattr *vfinfo[IFLA_VF_MAX + 1]; local
2980 err = nla_parse_nested_deprecated(vfinfo, IFLA_VF_MAX,
2986 err = do_setvfinfo(dev, vfinfo);

Completed in 242 milliseconds