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)
commita15d92598a5a741037b873fd4a43595a63048bbd
treea581436820ee0ade3fc8cbe308a7526dc53e8446
parent8b77c6b20f32511175dfd00322ae82fb31949d55
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
This page took 0.025997 seconds and 5 git commands to generate.