linux/include
Alexander Duyck a0ca153f98 GRE: Disable segmentation offloads w/ CSUM and we are encapsulated via FOU
This patch fixes an issue I found in which we were dropping frames if we
had enabled checksums on GRE headers that were encapsulated by either FOU
or GUE.  Without this patch I was barely able to get 1 Gb/s of throughput.
With this patch applied I am now at least getting around 6 Gb/s.

The issue is due to the fact that with FOU or GUE applied we do not provide
a transport offset pointing to the GRE header, nor do we offload it in
software as the GRE header is completely skipped by GSO and treated like a
VXLAN or GENEVE type header.  As such we need to prevent the stack from
generating it and also prevent GRE from generating it via any interface we
create.

Fixes: c3483384ee ("gro: Allow tunnel stacking in the case of FOU/GUE")
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-07 16:56:33 -04:00
..
acpi
asm-generic arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00
clocksource
crypto
drm
dt-bindings
keys
kvm
linux GRE: Disable segmentation offloads w/ CSUM and we are encapsulated via FOU 2016-04-07 16:56:33 -04:00
math-emu
media
memory
misc
net net_sched: fix a memory leak in tc action 2016-04-06 16:04:29 -04:00
pcmcia
ras
rdma
rxrpc
scsi SCSI misc on 20160326 2016-03-26 11:31:01 -07:00
soc
sound
target
trace mm/page_isolation: fix tracepoint to mirror check function behavior 2016-04-01 17:03:37 -05:00
uapi bpf: make padding in bpf_tunnel_key explicit 2016-03-30 19:01:33 -04:00
video
xen
Kbuild