offloading: Support multiple vlan tags in GSO.
authorJesse Gross <jesse@nicira.com>
Fri, 29 Oct 2010 12:14:54 +0000 (12:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2010 17:22:53 +0000 (09:22 -0800)
commitc8d5bcd1aff89199cde4bd82c5c40fb704c8bba4
tree3447709cb98b3571881a5a6930d5dfc51f5d6dc6
parente1e78db628b33c657944865e3bca01ee59cc5b80
offloading: Support multiple vlan tags in GSO.

We assume that hardware TSO can't support multiple levels of vlan tags
but we allow it to be done.  Therefore, enable GSO to parse these tags
so we can fallback to software.

Signed-off-by: Jesse Gross <jesse@nicira.com>
CC: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c