Searched refs:num_alloc_vfs (Results 1 – 11 of 11) sorted by relevance
27 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()82 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_vc_notify_link_state()140 if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) in i40e_vc_notify_vf_reset()1580 if (!pf->num_alloc_vfs) in i40e_reset_all_vfs()1588 for (v = 0; v < pf->num_alloc_vfs; v++) { in i40e_reset_all_vfs()1601 for (i = 0, v = 0; i < 10 && v < pf->num_alloc_vfs; i++) { in i40e_reset_all_vfs()1607 while (v < pf->num_alloc_vfs) { in i40e_reset_all_vfs()1628 if (v < pf->num_alloc_vfs) in i40e_reset_all_vfs()1636 for (v = 0; v < pf->num_alloc_vfs; v++) { in i40e_reset_all_vfs()1651 for (v = 0; v < pf->num_alloc_vfs; v++) { in i40e_reset_all_vfs()[all …]
117 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
738 if (!pf->num_alloc_vfs) { in i40e_dbg_dump_vf()740 } else if ((vf_id >= 0) && (vf_id < pf->num_alloc_vfs)) { in i40e_dbg_dump_vf()760 if (!pf->num_alloc_vfs) in i40e_dbg_dump_vf_all()763 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_dbg_dump_vf_all()
617 int num_alloc_vfs; /* actual number of VFs allocated */ member
2558 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_active_vfs()4570 if (vf >= pf->num_alloc_vfs) in i40e_add_fdir_ethtool()
10606 for (i = 0; i < pf->num_alloc_vfs && mdd_detected; i++) { in i40e_handle_mdd_event()
17 if (vf_id >= pf->num_alloc_vfs) { in ice_validate_vf_id()363 tmp = pf->num_alloc_vfs; in ice_free_vfs()365 pf->num_alloc_vfs = 0; in ice_free_vfs()815 num_all_res = pf->num_alloc_vfs * res; in ice_determine_res()931 if (!pf->num_alloc_vfs || max_valid_res_idx < 0) in ice_set_per_vf_res()937 msix_avail_per_vf = msix_avail_for_sriov / pf->num_alloc_vfs; in ice_set_per_vf_res()949 pf->num_alloc_vfs); in ice_set_per_vf_res()968 ICE_MIN_QS_PER_VF, pf->num_alloc_vfs); in ice_set_per_vf_res()972 if (ice_sriov_set_msix_res(pf, num_msix_per_vf * pf->num_alloc_vfs)) { in ice_set_per_vf_res()974 pf->num_alloc_vfs); in ice_set_per_vf_res()[all …]
40 for ((i) = 0; (i) < (pf)->num_alloc_vfs; (i)++)
401 u16 num_alloc_vfs; /* actual number of VFs allocated */ member
786 int num_alloc_vfs; /* Actual number of VFs allocated */ member
1779 hdev->num_alloc_vfs = hdev->num_req_vfs; in hclge_alloc_vport()