diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-03-07 08:21:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-09 16:09:17 -0500 |
commit | 731362674580cb0c696cd1b1a03d8461a10cf90a (patch) | |
tree | 29c6e106fbe52b31cacf454d4adc50750694a7b1 /include/linux/skbuff.h | |
parent | aefbd2b3c2a9c657605e4337f9919d6c6273e8e6 (diff) |
tunneling: Add generic Tunnel segmentation.
Adds generic tunneling offloading support for IPv4-UDP based
tunnels.
GSO type is added to request this offload for a skb.
netdev feature NETIF_F_UDP_TUNNEL is added for hardware offloaded
udp-tunnel support. Currently no device supports this feature,
software offload is used.
This can be used by tunneling protocols like VXLAN.
CC: Jesse Gross <jesse@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
-rw-r--r-- | include/linux/skbuff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index d7f96ff68f77..eb2106fe3bb4 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
@@ -316,6 +316,8 @@ enum { | |||
316 | SKB_GSO_FCOE = 1 << 5, | 316 | SKB_GSO_FCOE = 1 << 5, |
317 | 317 | ||
318 | SKB_GSO_GRE = 1 << 6, | 318 | SKB_GSO_GRE = 1 << 6, |
319 | |||
320 | SKB_GSO_UDP_TUNNEL = 1 << 7, | ||
319 | }; | 321 | }; |
320 | 322 | ||
321 | #if BITS_PER_LONG > 32 | 323 | #if BITS_PER_LONG > 32 |