History

gue: TX support for using remote checksum offload option

Add if_tunnel flag TUNNEL_ENCAP_FLAG_REMCSUM to configure remote checksum offload on an IP tunnel. Add logic in gue_build_header to insert remote checksum offload option.

Tom Herbert committed 12 years ago

Commit b17f7091 parent c1aa8343 files · +46 −4Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/if_tunnel.h+1−0
@@ -69,6 +69,7 @@ enum tunnel_encap_types { · 68 unmodified lines
69 69
70#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)70#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)
71#define TUNNEL_ENCAP_FLAG_CSUM6 (1<<1)71#define TUNNEL_ENCAP_FLAG_CSUM6 (1<<1)
72#define TUNNEL_ENCAP_FLAG_REMCSUM (1<<2)
72 73
73/* SIT-mode i_flags */74/* SIT-mode i_flags */
74#define SIT_ISATAP 0x000175#define SIT_ISATAP 0x0001