ipv6: move tcpv6_protocol and udpv6_protocol to net_hotdata
authorEric Dumazet <edumazet@google.com>
Wed, 6 Mar 2024 16:00:25 +0000 (16:00 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Mar 2024 05:12:43 +0000 (21:12 -0800)
commit4ea0875b9d897e3c64cdb486788509f1f062285b
treecbbc98c5381f58c927b6e43cd8a70eb15024d91b
parent6a55ca6b0122d4678e3ab54a8553361aae5082f1
ipv6: move tcpv6_protocol and udpv6_protocol to net_hotdata

These structures are read in rx path, move them to net_hotdata
for better cache locality.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240306160031.874438-13-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/hotdata.h
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c