linux/drivers/net/ixgbe
Hao Zheng 5e09a10521 ixgbe: Look inside vlan when determining offload protocol.
Currently the skb->protocol field is used to setup various
offloading parameters on transmit for the correct protocol.
However, if vlan offloading is disabled or otherwise not used,
the protocol field will be ETH_P_8021Q, not the actual protocol.
This will cause the offloading to be not performed correctly,
even though the hardware is capable of looking inside vlan tags.
Instead, look inside the header if necessary to determine the
correct protocol type.

To some extent this fixes a regression from 2.6.36 because it
was previously not possible to disable vlan offloading and this
error case was not exposed.

Signed-off-by: Hao Zheng <hzheng@nicira.com>
CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
CC: Alex Duyck <alexander.h.duyck@intel.com>
CC: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-12 12:30:58 -08:00
..
ixgbe_82598.c
ixgbe_82599.c ixgbe: declare functions as static 2010-10-14 10:49:43 -07:00
ixgbe_common.c ixgbe: declare functions as static 2010-10-14 10:49:43 -07:00
ixgbe_common.h ixgbe: declare functions as static 2010-10-14 10:49:43 -07:00
ixgbe_dcb_82598.c ixgbe: declare functions as static 2010-10-14 10:49:43 -07:00
ixgbe_dcb_82598.h ixgbe: declare functions as static 2010-10-14 10:49:43 -07:00
ixgbe_dcb_82599.c ixgbe: DCB, fix TX hang occurring in stress condition with PFC 2010-10-28 10:19:00 -07:00
ixgbe_dcb_82599.h ixgbe: DCB, fix TX hang occurring in stress condition with PFC 2010-10-28 10:19:00 -07:00
ixgbe_dcb_nl.c
ixgbe_dcb.c ixgbe: DCB, fix TX hang occurring in stress condition with PFC 2010-10-28 10:19:00 -07:00
ixgbe_dcb.h ixgbe: DCB, fix TX hang occurring in stress condition with PFC 2010-10-28 10:19:00 -07:00
ixgbe_ethtool.c ixgbe: fix stats handling 2010-10-21 03:55:22 -07:00
ixgbe_fcoe.c ixgbe: add a refcnt when turning on/off FCoE offload capability 2010-10-21 03:55:23 -07:00
ixgbe_fcoe.h ixgbe: add a refcnt when turning on/off FCoE offload capability 2010-10-21 03:55:23 -07:00
ixgbe_main.c ixgbe: Look inside vlan when determining offload protocol. 2010-11-12 12:30:58 -08:00
ixgbe_mbx.c ixgbe: update copyright info 2010-10-21 03:55:21 -07:00
ixgbe_mbx.h ixgbe: update copyright info 2010-10-21 03:55:21 -07:00
ixgbe_phy.c
ixgbe_phy.h
ixgbe_sriov.c ixgbe: update copyright info 2010-10-21 03:55:21 -07:00
ixgbe_sriov.h ixgbe: update copyright info 2010-10-21 03:55:21 -07:00
ixgbe_type.h
ixgbe.h ixgbe: fix stats handling 2010-10-21 03:55:22 -07:00
Makefile