ixgbe: fix tag stripping for VLAN ID 0
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 20 Jan 2009 00:54:36 +0000 (16:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jan 2009 00:54:36 +0000 (16:54 -0800)
commit068c89b014ebd27b1c09c3c772e9d982988e7786
tree85ece46a4a4b9b86c05d6f0a524af16286c694ac
parent15005a320473b8d3676b878deb29bbe738ef9027
ixgbe: fix tag stripping for VLAN ID 0

Register VLAN ID 0 so that frames with VLAN ID 0 are received and get
their tag stripped when ixgbe is not in DCB mode.  VLAN ID 0 means
that the frame is 'priority tagged' only - it is not a VLAN, but the
priority value is the tag in valid.  The functions
ixgbe_vlan_rx_register() and ixgbe_vlan_rx_kill_vid() were moved up a
couple functions to correct compiling issues with this change.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Eric W Multanen <eric.w.multanen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c