xfrm: Support GRO for IPv6 ESP in UDP encapsulation
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 4 Oct 2023 13:05:44 +0000 (15:05 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 6 Oct 2023 05:31:14 +0000 (07:31 +0200)
commit221ddb723d90907019838b89b9e9bccb11461381
tree4054ef7c09c37cc9e85c06a1a297b272b9cb0934
parent172bf009c18d3ba4b841408f864a5322989ab6c0
xfrm: Support GRO for IPv6 ESP in UDP encapsulation

This patch enables the GRO codepath for IPv6 ESP in UDP encapsulated
packets. Decapsulation happens at L2 and saves a full round through
the stack for each packet. This is also needed to support HW offload
for ESP in UDP encapsulation.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Co-developed-by: Antony Antony <antony.antony@secunet.com>
Signed-off-by: Antony Antony <antony.antony@secunet.com>
Reviewed-by: Eyal Birger <eyal.birger@gmail.com>
include/net/ipv6_stubs.h
include/net/xfrm.h
net/ipv4/udp.c
net/ipv6/af_inet6.c
net/ipv6/esp6_offload.c
net/ipv6/xfrm6_input.c