ixgbe: Avoid adding VLAN 0 twice to VLVF and VFTA
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 7 Jan 2016 06:48:50 +0000 (22:48 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 4 Apr 2016 20:33:10 +0000 (13:33 -0700)
commit06bb1c39d8be0b2ee60b5bc9384fdac6e19bc270
tree9633eea30d0db5892104096ad8e9c90db518ca0e
parent18be4fce00fef206dc6f104a6a258b193e9871cf
ixgbe: Avoid adding VLAN 0 twice to VLVF and VFTA

We were adding VLAN 0 twice each time we restored the VLAN configuration.
Instead of doing it twice we can just start working through the active
VLANs from ID 1 on and skip the double write.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c