From: Sridhar Samudrala <sridhar.samudr...@intel.com> Date: Thu, 29 Dec 2016 22:20:59 -0800
> /* VF resources get allocated during reset */ > i40e_reset_vf(&vfs[i], false); > > + if (pf->eswitch_mode == DEVLINK_ESWITCH_MODE_SWITCHDEV) > + i40e_alloc_vfpr_netdev(&vfs[i], i); You aren't checking for, and unwinding from, errors signalled by i40e_alloc_vfpr_netdev().