]> git.ipfire.org Git - thirdparty/linux.git/commit
ipv6: reorganise struct ipv6_pinfo
authorEric Dumazet <edumazet@google.com>
Tue, 16 Sep 2025 16:09:45 +0000 (16:09 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Sep 2025 08:17:09 +0000 (10:17 +0200)
commitb76543b21fbcfbb96332fd80cc0d85bbcd72d8f0
tree9d09d07ce7ce8a1baa5e011e0a14e3f366a554f1
parent9fba1eb39e2f74d2002c5cbcf1d4435d37a4f752
ipv6: reorganise struct ipv6_pinfo

Move fields used in tx fast path at the beginning of the structure,
and seldom used ones at the end.

Note that rxopt is also in the first cache line.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250916160951.541279-5-edumazet@google.com
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/linux/ipv6.h