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>
This commit is contained in:

committed by
David S. Miller

parent
aefbd2b3c2
commit
7313626745
@@ -316,6 +316,8 @@ enum {
|
||||
SKB_GSO_FCOE = 1 << 5,
|
||||
|
||||
SKB_GSO_GRE = 1 << 6,
|
||||
|
||||
SKB_GSO_UDP_TUNNEL = 1 << 7,
|
||||
};
|
||||
|
||||
#if BITS_PER_LONG > 32
|
||||
|
Reference in New Issue
Block a user