]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Clean-up configuration of VF port VLANs
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 7 Jan 2016 07:11:11 +0000 (23:11 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 16 Feb 2016 00:39:57 +0000 (16:39 -0800)
commitbb01a02b49149e7f66d24fe8af7bb97c43eee088
treea581436820ee0ade3fc8cbe308a7526dc53e8446
parent19d3d93e014e159d469595d4f41bc0d983dd7713
igb: Clean-up configuration of VF port VLANs

This patch is meant to clean-up the configuration of the VF port based VLAN
configuration.  The original logic was a bit muddled and had some
undesirable side effects such as VLANs being either completely stripped
from the port or VLANs being left when they shouldn't be.  The idea behind
this code is to avoid any events such as spurious spoof notifications when
we are removing one VLAN tag and replacing it with another.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c