[Intel-wired-lan] [net-next PATCH 2/6] i40e: Introduce VF Port Representator(VFPR) netdevs.

David Miller davem at davemloft.net
Fri Dec 30 02:52:51 UTC 2016


From: Sridhar Samudrala <sridhar.samudrala at 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().


More information about the Intel-wired-lan mailing list