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)
commit43e95f11ac0b06fec2c58431b092a60934d730e2
tree1f905f82ba8cc81d5afcd998f7941212abc8b642
parent146d4cc98d660cbdeae52ae35a4d038d0dab6da5
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