net: Add GSO support for UDP tunnels with checksum
Added a new netif feature for GSO_UDP_TUNNEL_CSUM. This indicates that a device is capable of computing the UDP checksum in the encapsulating header of a UDP tunnel. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
e9c3a24b3a
commit
0f4f4ffa7b
@@ -345,6 +345,8 @@ enum {
|
||||
SKB_GSO_UDP_TUNNEL = 1 << 9,
|
||||
|
||||
SKB_GSO_MPLS = 1 << 10,
|
||||
|
||||
SKB_GSO_UDP_TUNNEL_CSUM = 1 << 11,
|
||||
};
|
||||
|
||||
#if BITS_PER_LONG > 32
|
||||
|
Reference in New Issue
Block a user