]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: IXGBE_RXD_STAT_VP set even with Rx stripping enabled
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 15 May 2012 06:12:17 +0000 (06:12 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Jun 2012 04:04:25 +0000 (21:04 -0700)
commit64a9c6a1092be2e18b678a77ccd19874acffe474
tree1f905f82ba8cc81d5afcd998f7941212abc8b642
parent1bf8acfd4485371a2a6044b9281199020d35a079
ixgbe: IXGBE_RXD_STAT_VP set even with Rx stripping enabled

The hardware bit IXGBE_RXD_STAT_VP appears to be set even when Rx
stripping is disabled. This results in passing frames up the stack
which do not have the 802.1Q tag stripped but have the tci bits
set as if it was.

Working around this with a check for the feature flag bit. I
would welcome any better ideas or a pointer to exactly which
bits in the hardware register need to be cleared to get the
IXGBE_RXD_STAT_VP bit to be set per data sheet.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Alexander Duyck <alexander.h.duyck@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