]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5f527ba962e277963b08f4c7f12fbeeac3f34e3c
treec082c0cc4bb155d57bd2d5df537de18e5e381024
parent692fb0a75e816d2676f222c9db33e91f46ea1e03
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