]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Limit the number of MAC and VLAN addresses that can be added for VFs
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 13 Apr 2016 10:08:22 +0000 (03:08 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:41:13 +0000 (10:41 -0700)
commitf68e44561dca3b58933acd82e473156a611117d1
treef47cddb34fd4da8cf3d0033e14d46e800e7f3480
parent9ffff69e64e0de255ae70f9eecd1632f87d3a60c
i40e: Limit the number of MAC and VLAN addresses that can be added for VFs

Orabug: 23176970

If the VF is privileged/trusted it can do as it may please including
but not limited to hogging resources and playing unfair.
But if the VF is not privileged/trusted it still can add some number
(8) of MAC and VLAN addresses.
Other restrictions with respect to Port VLAN and normal VLAN still apply
to not privileged/trusted VF.

Change-Id: I3a9529201b184c8873e1ad2e300aff468c9e6296
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 5f527ba962e277963b08f4c7f12fbeeac3f34e3c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c