gue: TX support for using remote checksum offload option
authorTom Herbert <therbert@google.com>
Tue, 4 Nov 2014 17:06:56 +0000 (09:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Nov 2014 21:30:03 +0000 (16:30 -0500)
commitb17f709a24013fcbb257f6f89b4d81ac9fdf0d18
tree2d279bf83c7bdbe770a90f784b6c3e2b78e7237d
parentc1aa8347e73e4092411fbd96cc59531fb7e76d04
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>
include/net/fou.h
include/uapi/linux/if_tunnel.h
net/ipv4/fou.c