]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ixgbe: fix_features rxvlan is independent of DCB and needs to be set
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 15 May 2012 05:59:26 +0000 (05:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Jun 2012 04:00:31 +0000 (21:00 -0700)
commit146d4cc98d660cbdeae52ae35a4d038d0dab6da5
treeb87535250ff7c186cf9fde12a2b4bce94ec939d6
parent470a54207ccf7045a59df727573bd9d148988582
ixgbe: fix_features rxvlan is independent of DCB and needs to be set

DCB can be used independent of if RX VLAN stripping is enabled
or disabled so remove erroneous check.

Also enable or disable VLAN stripping when features are applied so
hardware and feature flags are in sync.

CC: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Marcus Dennis <marcusx.e.dennis@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c