Tested with a VXLAN tunnel over a device that doesn't support inner checksum offload (so the checksum will have been done in sw by validate_xmit_skb()).
Changes from v1: * Enabled support in more encapsulation protocols. I think it now covers everything except GRE. * Wrote up some documentation covering TX checksum offload, LCO and RCO. Edward Cree (5): net: local checksum offload for encapsulation net: enable LCO for udp_tunnel_handle_offloads() users net: vxlan: enable local checksum offload fou: enable LCO in FOU and GUE Documentation/networking: add tx-offloads.txt to explain LCO Documentation/networking/00-INDEX | 2 + Documentation/networking/tx-offloads.txt | 122 +++++++++++++++++++++++++++++++ drivers/net/vxlan.c | 4 +- include/linux/skbuff.h | 26 +++++++ include/net/udp_tunnel.h | 3 +- net/ipv4/fou.c | 5 +- net/ipv4/ip_tunnel_core.c | 4 + net/ipv4/udp.c | 29 +++----- net/ipv6/ip6_checksum.c | 24 ++---- 9 files changed, 178 insertions(+), 41 deletions(-) create mode 100644 Documentation/networking/tx-offloads.txt -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html