Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c69 if (!adapter->vfinfo) in __ixgbe_enable_sriov()
228 kfree(adapter->vfinfo); in ixgbe_disable_sriov()
229 adapter->vfinfo = NULL; in ixgbe_disable_sriov()
368 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_set_vf_multicasts() local
419 vfinfo = &adapter->vfinfo[i]; in ixgbe_restore_vf_multicasts()
700 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_vf_reset_event() local
716 if (!vfinfo->pf_vlan && !vfinfo->pf_qos && !num_tcs) { in ixgbe_vf_reset_event()
721 vfinfo->pf_qos, vf); in ixgbe_vf_reset_event()
958 if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted && in ixgbe_set_vf_mac_addr()
999 if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted && in ixgbe_set_vf_macvlan_msg()
[all …]
H A Dixgbe_dcb_nl.c649 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_dcbnl_ieee_setapp() local
651 if (!vfinfo->pf_qos) in ixgbe_dcbnl_ieee_setapp()
652 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_setapp()
694 struct vf_data_storage *vfinfo = &adapter->vfinfo[vf]; in ixgbe_dcbnl_ieee_delapp() local
696 if (!vfinfo->pf_qos) in ixgbe_dcbnl_ieee_delapp()
697 ixgbe_set_vmvir(adapter, vfinfo->pf_vlan, in ixgbe_dcbnl_ieee_delapp()
H A Dixgbe_main.c5558 adapter->vfinfo[i].vfstats.gprc; in ixgbe_clear_vf_stats_counters()
5559 adapter->vfinfo[i].vfstats.gprc = 0; in ixgbe_clear_vf_stats_counters()
5563 adapter->vfinfo[i].vfstats.gptc; in ixgbe_clear_vf_stats_counters()
5564 adapter->vfinfo[i].vfstats.gptc = 0; in ixgbe_clear_vf_stats_counters()
5568 adapter->vfinfo[i].vfstats.gorc; in ixgbe_clear_vf_stats_counters()
5569 adapter->vfinfo[i].vfstats.gorc = 0; in ixgbe_clear_vf_stats_counters()
5573 adapter->vfinfo[i].vfstats.gotc; in ixgbe_clear_vf_stats_counters()
5574 adapter->vfinfo[i].vfstats.gotc = 0; in ixgbe_clear_vf_stats_counters()
5578 adapter->vfinfo[i].vfstats.mprc; in ixgbe_clear_vf_stats_counters()
5579 adapter->vfinfo[i].vfstats.mprc = 0; in ixgbe_clear_vf_stats_counters()
[all …]
H A Dixgbe_ipsec.c902 if (!adapter->vfinfo[vf].trusted || in ixgbe_ipsec_vf_add_sa()
1007 if (!adapter->vfinfo[vf].trusted) { in ixgbe_ipsec_vf_del_sa()
H A Dixgbe.h787 struct vf_data_storage *vfinfo; member
H A Dixgbe_ethtool.c2201 if (adapter->vfinfo[i].clear_to_send) { in ixgbe_diag_test()
3568 adapter->vfinfo[i].primary_abort_count = 0; in ixgbe_set_priv_flags()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H 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 …]
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptpf.h48 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member
H A Dcptpf_mbox.c88 struct cpt_vf_info *vfx = &cpt->vfinfo[vf]; in cpt_handle_mbox_intr()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c3260 struct vf_info *vfinfo; in cxgb4_mgmt_get_vf_config() local
3264 vfinfo = &adap->vfinfo[vf]; in cxgb4_mgmt_get_vf_config()
3267 ivi->max_tx_rate = vfinfo->tx_rate; in cxgb4_mgmt_get_vf_config()
3270 ivi->vlan = vfinfo->vlan; in cxgb4_mgmt_get_vf_config()
3325 adap->vfinfo[vf].tx_rate = 0; in cxgb4_mgmt_set_vf_rate()
3403 adap->vfinfo[vf].vlan = vlan; in cxgb4_mgmt_set_vf_vlan()
6289 kfree(adap->vfinfo); in cxgb4_iov_configure()
6290 adap->vfinfo = NULL; in cxgb4_iov_configure()
6364 if (!adap->vfinfo) { in cxgb4_iov_configure()
6380 kfree(adap->vfinfo); in cxgb4_iov_configure()
[all …]
H A Dcxgb4.h1136 struct vf_info *vfinfo; member
/openbmc/linux/Documentation/netlink/specs/
H A Drt_link.yaml797 name: vfinfo-list
799 nested-attributes: vfinfo-attrs
953 name: vfinfo-attrs
1333 - vfinfo-list
/openbmc/linux/net/core/
H A Drtnetlink.c1423 struct nlattr *vfinfo; in rtnl_fill_vf() local
1436 vfinfo = nla_nest_start_noflag(skb, IFLA_VFINFO_LIST); in rtnl_fill_vf()
1437 if (!vfinfo) in rtnl_fill_vf()
1442 nla_nest_cancel(skb, vfinfo); in rtnl_fill_vf()
1447 nla_nest_end(skb, vfinfo); in rtnl_fill_vf()
2961 struct nlattr *vfinfo[IFLA_VF_MAX + 1]; in do_setlink() local
2971 err = nla_parse_nested_deprecated(vfinfo, IFLA_VF_MAX, in do_setlink()
2977 err = do_setvfinfo(dev, vfinfo); in do_setlink()