net: gso: add HBH extension header offload support
authorRichard Gobert <richardbgobert@gmail.com>
Wed, 3 Jan 2024 14:40:44 +0000 (15:40 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 5 Jan 2024 16:11:49 +0000 (08:11 -0800)
commitf2e3fc2158e66d84af77f4818df47b607ded3a75
tree11d07d98c9044da3c27f806e7a382812ed82a0f9
parentcb420106901ad038ea8b3c58fe26a5a465c40080
net: gso: add HBH extension header offload support

This commit adds net_offload to IPv6 Hop-by-Hop extension headers (as it
is done for routing and dstopts) since it is supported in GSO and GRO.
This allows to remove specific HBH conditionals in GSO and GRO when
pulling and parsing an incoming packet.

Signed-off-by: Richard Gobert <richardbgobert@gmail.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/d4f8825a-1d55-4b12-9d67-a254dbbfa6ae@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/exthdrs_offload.c
net/ipv6/ip6_offload.c