net: add skb functions to process remote checksum offload
authorTom Herbert <therbert@google.com>
Tue, 3 Feb 2015 00:07:34 +0000 (16:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Feb 2015 21:54:07 +0000 (13:54 -0800)
commitdcdc8994697faa789669c3fdaca1a8bc27a8f356
treea105b07298d337a0b04b114422638768c3ee9266
parent9a05dde59a35eee5643366d3d1e1f43fc9069adb
net: add skb functions to process remote checksum offload

This patch adds skb_remcsum_process and skb_gro_remcsum_process to
perform the appropriate adjustments to the skb when receiving
remote checksum offload.

Updated vxlan and gue to use these functions.

Tested: Ran TCP_RR and TCP_STREAM netperf for VXLAN and GUE, did
not see any change in performance.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/linux/netdevice.h
include/linux/skbuff.h
net/ipv4/fou.c