Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_sriov.c68 if (!adapter->vfinfo) in __ixgbe_enable_sriov()
227 kfree(adapter->vfinfo); in ixgbe_disable_sriov()
228 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()
1000 if (adapter->vfinfo[vf].pf_set_mac && !adapter->vfinfo[vf].trusted && in ixgbe_set_vf_macvlan_msg()
[all …]
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()
A Dixgbe_main.c5568 adapter->vfinfo[i].vfstats.gprc; in ixgbe_clear_vf_stats_counters()
5569 adapter->vfinfo[i].vfstats.gprc = 0; in ixgbe_clear_vf_stats_counters()
5573 adapter->vfinfo[i].vfstats.gptc; in ixgbe_clear_vf_stats_counters()
5574 adapter->vfinfo[i].vfstats.gptc = 0; in ixgbe_clear_vf_stats_counters()
5578 adapter->vfinfo[i].vfstats.gorc; in ixgbe_clear_vf_stats_counters()
5579 adapter->vfinfo[i].vfstats.gorc = 0; in ixgbe_clear_vf_stats_counters()
5583 adapter->vfinfo[i].vfstats.gotc; in ixgbe_clear_vf_stats_counters()
5584 adapter->vfinfo[i].vfstats.gotc = 0; in ixgbe_clear_vf_stats_counters()
5588 adapter->vfinfo[i].vfstats.mprc; in ixgbe_clear_vf_stats_counters()
5589 adapter->vfinfo[i].vfstats.mprc = 0; in ixgbe_clear_vf_stats_counters()
[all …]
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()
A Dixgbe.h788 struct vf_data_storage *vfinfo; member
A Dixgbe_ethtool.c2201 if (adapter->vfinfo[i].clear_to_send) { in ixgbe_diag_test()
3567 adapter->vfinfo[i].primary_abort_count = 0; in ixgbe_set_priv_flags()
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
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 …]
/linux-6.3-rc2/drivers/crypto/cavium/cpt/
A Dcptpf.h48 struct cpt_vf_info vfinfo[CPT_MAX_VF_NUM]; /* Per VF info */ member
A Dcptpf_mbox.c88 struct cpt_vf_info *vfx = &cpt->vfinfo[vf]; in cpt_handle_mbox_intr()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_main.c3261 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()
3271 ivi->vlan = vfinfo->vlan; in cxgb4_mgmt_get_vf_config()
3326 adap->vfinfo[vf].tx_rate = 0; in cxgb4_mgmt_set_vf_rate()
3404 adap->vfinfo[vf].vlan = vlan; in cxgb4_mgmt_set_vf_vlan()
6290 kfree(adap->vfinfo); in cxgb4_iov_configure()
6291 adap->vfinfo = NULL; in cxgb4_iov_configure()
6365 if (!adap->vfinfo) { in cxgb4_iov_configure()
6381 kfree(adap->vfinfo); in cxgb4_iov_configure()
[all …]
A Dcxgb4.h1136 struct vf_info *vfinfo; member
/linux-6.3-rc2/net/core/
A Drtnetlink.c1270 struct nlattr *vfinfo) in rtnl_fill_vfinfo() argument
1409 nla_nest_cancel(skb, vfinfo); in rtnl_fill_vfinfo()
1417 struct nlattr *vfinfo; in rtnl_fill_vf() local
1430 vfinfo = nla_nest_start_noflag(skb, IFLA_VFINFO_LIST); in rtnl_fill_vf()
1431 if (!vfinfo) in rtnl_fill_vf()
1435 if (rtnl_fill_vfinfo(skb, dev, i, vfinfo)) in rtnl_fill_vf()
1439 nla_nest_end(skb, vfinfo); in rtnl_fill_vf()
2929 struct nlattr *vfinfo[IFLA_VF_MAX + 1]; in do_setlink() local
2939 err = nla_parse_nested_deprecated(vfinfo, IFLA_VF_MAX, in do_setlink()
2945 err = do_setvfinfo(dev, vfinfo); in do_setlink()

Completed in 79 milliseconds