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

2016-12-29 Thread David Miller
From: Sridhar Samudrala 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(&vf

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

2016-12-29 Thread Sridhar Samudrala
VF Port Representator netdevs are created for each VF if the switch mode is set to 'switchdev'. These netdevs can be used to control and configure VFs from PFs namespace. They enable exposing VF statistics, configure and monitor link state, mtu, filters, fdb/vlan entries etc. of VFs. Broadcast filt