Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/i40e/
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 …]
Di40e_virtchnl_pf.h119 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
Di40e_debugfs.c739 if (!pf->num_alloc_vfs) { in i40e_dbg_dump_vf()
741 } else if ((vf_id >= 0) && (vf_id < pf->num_alloc_vfs)) { in i40e_dbg_dump_vf()
761 if (!pf->num_alloc_vfs) in i40e_dbg_dump_vf_all()
764 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_dbg_dump_vf_all()
Di40e.h622 int num_alloc_vfs; /* actual number of VFs allocated */ member
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()
Di40e_main.c11261 for (i = 0; i < pf->num_alloc_vfs && mdd_detected; i++) { in i40e_handle_mdd_event()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h913 int num_alloc_vfs; /* Actual number of VFs allocated */ member
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()