]> git.baikalelectronics.ru Git - 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)
commit1bf8acfd4485371a2a6044b9281199020d35a079
treeb87535250ff7c186cf9fde12a2b4bce94ec939d6
parentf58d0bde10e720372706b4effdbc444fdc08810f
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