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
6969
7070 #define TUNNEL_ENCAP_FLAG_CSUM (1<<0)
7171 #define TUNNEL_ENCAP_FLAG_CSUM6 (1<<1)
72+#define TUNNEL_ENCAP_FLAG_REMCSUM (1<<2)
7273
7374 /* SIT-mode i_flags */
7475 #define SIT_ISATAP 0x0001