]> 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)
commite93a78a11b99cd8ce1dc9e3f3d947aef44d4b948
tree1f905f82ba8cc81d5afcd998f7941212abc8b642
parentafed142b3b344ef1845a1d78233fa297b4e2d05c
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