net: Allow tunnels to use inner checksum offloads with outer checksums needed
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 5 Feb 2016 23:28:26 +0000 (15:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 13:55:34 +0000 (08:55 -0500)
commitf245d079c1d11dc6927e56f5a89dd566fef2a415
treeb04ab120785a4f827079361fffc1b78cfb88f8f3
parentdbef491ebe7f3a4fb1b9111878b86a426fd540b7
net: Allow tunnels to use inner checksum offloads with outer checksums needed

This patch enables us to use inner checksum offloads if provided by
hardware with outer checksums computed by software.

It basically reduces encap_hdr_csum to an advisory flag for now, but based
on the fact that SCTP may be getting segmentation support before long I
thought we may want to keep it as it is possible we may need to support
CRC32c and 1's compliment checksum in the same packet at some point in the
future.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
This page took 0.025269 seconds and 5 git commands to generate.