]> Pileus Git - ~andy/linux/commit
tunneling: Add generic Tunnel segmentation.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 7 Mar 2013 13:21:51 +0000 (13:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Mar 2013 21:09:17 +0000 (16:09 -0500)
commit731362674580cb0c696cd1b1a03d8461a10cf90a
tree29c6e106fbe52b31cacf454d4adc50750694a7b1
parentaefbd2b3c2a9c657605e4337f9919d6c6273e8e6
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>
include/linux/netdev_features.h
include/linux/skbuff.h
net/core/ethtool.c
net/ipv4/af_inet.c
net/ipv4/tcp.c
net/ipv4/udp.c
net/ipv6/ip6_offload.c
net/ipv6/udp_offload.c