diff options
author | 2024-03-06 16:00:27 +0000 | |
---|---|---|
committer | 2024-03-07 21:12:43 -0800 | |
commit | 6e0735723ab437793cfab02d50b3ae3539aeb520 (patch) | |
tree | 4cd1f0fc1b3a701d34aa23e9b20299f3b9bfabb3 /net/ipv6/udp.c | |
parent | inet: move tcp_protocol and udp_protocol to net_hotdata (diff) | |
download | wireguard-linux-6e0735723ab437793cfab02d50b3ae3539aeb520.tar.xz wireguard-linux-6e0735723ab437793cfab02d50b3ae3539aeb520.zip |
inet: move inet_ehash_secret and udp_ehash_secret into net_hotdata
"struct net_protocol" has a 32bit hole in 32bit arches.
Use it to store the 32bit secret used by UDP and TCP,
to increase cache locality in rx path.
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-15-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions