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. 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
c1aa8347e7
commit
b17f709a24
@@ -69,6 +69,7 @@ enum tunnel_encap_types {
|
||||
|
||||
#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)
|
||||
#define TUNNEL_ENCAP_FLAG_CSUM6 (1<<1)
|
||||
#define TUNNEL_ENCAP_FLAG_REMCSUM (1<<2)
|
||||
|
||||
/* SIT-mode i_flags */
|
||||
#define SIT_ISATAP 0x0001
|
||||
|
Reference in New Issue
Block a user