Lines Matching refs:vfs
31 /* Not all vfs are enabled so skip the ones that are not */
1819 struct i40e_vf *vfs;
1835 vfs = kcalloc(num_alloc_vfs, sizeof(struct i40e_vf), GFP_KERNEL);
1836 if (!vfs) {
1840 pf->vf = vfs;
1844 vfs[i].pf = pf;
1845 vfs[i].parent_type = I40E_SWITCH_ELEMENT_TYPE_VEB;
1846 vfs[i].vf_id = i;
1849 set_bit(I40E_VIRTCHNL_VF_CAP_L2, &vfs[i].vf_caps);
1850 vfs[i].spoofchk = true;
1852 set_bit(I40E_VF_STATE_PRE_ENABLE, &vfs[i].vf_states);