[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161229.215251.689242851887487491.davem@davemloft.net>
Date: Thu, 29 Dec 2016 21:52:51 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sridhar.samudrala@...el.com
Cc: alexander.h.duyck@...el.com, john.r.fastabend@...el.com,
anjali.singhai@...el.com, jakub.kicinski@...ronome.com,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org
Subject: Re: [net-next PATCH 2/6] i40e: Introduce VF Port
Representator(VFPR) netdevs.
From: Sridhar Samudrala <sridhar.samudrala@...el.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().
Powered by blists - more mailing lists