diff options
author | Tom Herbert <therbert@google.com> | 2014-06-04 17:20:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-04 22:46:38 -0700 |
commit | 0f4f4ffa7b7c3d29d0537a126145c9f8d8ed5dbc (patch) | |
tree | 03c42c474aacb185f7401acdffea600476d1d6e1 /include/linux/netdev_features.h | |
parent | e9c3a24b3ace90b428848fdaf772ed264982abcc (diff) | |
download | lwn-0f4f4ffa7b7c3d29d0537a126145c9f8d8ed5dbc.tar.gz lwn-0f4f4ffa7b7c3d29d0537a126145c9f8d8ed5dbc.zip |
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>
Diffstat (limited to 'include/linux/netdev_features.h')
-rw-r--r-- | include/linux/netdev_features.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index c26d0ec2ef3a..f1338e0f9866 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h @@ -45,6 +45,7 @@ enum { NETIF_F_GSO_IPIP_BIT, /* ... IPIP tunnel with TSO */ NETIF_F_GSO_SIT_BIT, /* ... SIT tunnel with TSO */ NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ + NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ NETIF_F_GSO_MPLS_BIT, |