Home
last modified time | relevance | path

Searched refs:num_alloc_vfs (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c29 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()
137 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_vc_notify_link_state()
195 if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) in i40e_vc_notify_vf_reset()
1637 if (!pf->num_alloc_vfs) in i40e_reset_all_vfs()
1645 for (vf = &pf->vf[0]; vf < &pf->vf[pf->num_alloc_vfs]; ++vf) { in i40e_reset_all_vfs()
1657 for (i = 0, vf = &pf->vf[0]; i < 10 && vf < &pf->vf[pf->num_alloc_vfs]; ++i) { in i40e_reset_all_vfs()
1663 while (vf < &pf->vf[pf->num_alloc_vfs]) { in i40e_reset_all_vfs()
1683 if (vf < &pf->vf[pf->num_alloc_vfs]) in i40e_reset_all_vfs()
1691 for (vf = &pf->vf[0]; vf < &pf->vf[pf->num_alloc_vfs]; ++vf) { in i40e_reset_all_vfs()
1706 for (vf = &pf->vf[0]; vf < &pf->vf[pf->num_alloc_vfs]; ++vf) { in i40e_reset_all_vfs()
[all …]
H A Di40e_virtchnl_pf.h119 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
H A Di40e_debugfs.c740 if (!pf->num_alloc_vfs) { in i40e_dbg_dump_vf()
742 } else if ((vf_id >= 0) && (vf_id < pf->num_alloc_vfs)) { in i40e_dbg_dump_vf()
762 if (!pf->num_alloc_vfs) in i40e_dbg_dump_vf_all()
765 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_dbg_dump_vf_all()
H A Di40e.h622 int num_alloc_vfs; /* actual number of VFs allocated */ member
H A Di40e_ethtool.c2655 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_active_vfs()
4853 if (vf >= pf->num_alloc_vfs) in i40e_add_fdir_ethtool()
5400 pf->num_alloc_vfs) { in i40e_set_priv_flags()
H A Di40e_main.c11270 for (i = 0; i < pf->num_alloc_vfs && mdd_detected; i++) { in i40e_handle_mdd_event()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.h913 int num_alloc_vfs; /* Actual number of VFs allocated */ member
H A Dhclge_main.c1804 hdev->num_alloc_vfs = hdev->num_req_vfs; in hclge_alloc_vport()
10133 for (vf_id = 0; vf_id < hdev->num_alloc_vfs; vf_id++) { in hclge_restore_vport_port_base_vlan_config()