Lines Matching refs:vfs
918 struct i40e_vf *vfs; in i40e_alloc_vfs() local
935 vfs = kcalloc(num_alloc_vfs, sizeof(struct i40e_vf), GFP_KERNEL); in i40e_alloc_vfs()
936 if (!vfs) { in i40e_alloc_vfs()
940 pf->vf = vfs; in i40e_alloc_vfs()
944 vfs[i].pf = pf; in i40e_alloc_vfs()
945 vfs[i].parent_type = I40E_SWITCH_ELEMENT_TYPE_VEB; in i40e_alloc_vfs()
946 vfs[i].vf_id = i; in i40e_alloc_vfs()
949 set_bit(I40E_VIRTCHNL_VF_CAP_L2, &vfs[i].vf_caps); in i40e_alloc_vfs()
950 vfs[i].spoofchk = true; in i40e_alloc_vfs()
952 i40e_reset_vf(&vfs[i], false); in i40e_alloc_vfs()
955 i40e_enable_vf_mappings(&vfs[i]); in i40e_alloc_vfs()