]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 2 May 2016 00:03:03 +0000 (17:03 -0700)
commitaf894c1cbc03528d28cd42c6a0be187c3cdf4f43
treec082c0cc4bb155d57bd2d5df537de18e5e381024
parente5295a6e620f73d429ff3601f366e95b11d8ac2d
i40e: Limit the number of MAC and VLAN addresses that can be added for VFs

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>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.h