Searched refs:num_alloc_vfs (Results 1 – 5 of 5) sorted by relevance
50 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()104 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_vc_notify_link_state()136 if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) in i40e_vc_notify_vf_reset()862 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_free_vfs()879 tmp = pf->num_alloc_vfs; in i40e_free_vfs()880 pf->num_alloc_vfs = 0; in i40e_free_vfs()916 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs) in i40e_alloc_vfs() argument925 if (pci_num_vf(pf->pdev) != num_alloc_vfs) { in i40e_alloc_vfs()926 ret = pci_enable_sriov(pf->pdev, num_alloc_vfs); in i40e_alloc_vfs()930 pf->num_alloc_vfs = 0; in i40e_alloc_vfs()[all …]
109 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
369 int num_alloc_vfs; /* actual number of VFs allocated */ member
2281 if (ntohl(fsp->h_ext.data[1]) >= pf->num_alloc_vfs) { in i40e_add_fdir_ethtool()
6487 if (pf->num_alloc_vfs) { in i40e_reset_and_rebuild()6488 for (v = 0; v < pf->num_alloc_vfs; v++) in i40e_reset_and_rebuild()6587 for (i = 0; i < pf->num_alloc_vfs && mdd_detected; i++) { in i40e_handle_mdd_event()