net: move rps_sock_flow_table to net_hotdata
authorEric Dumazet <edumazet@google.com>
Wed, 6 Mar 2024 16:00:31 +0000 (16:00 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Mar 2024 05:12:43 +0000 (21:12 -0800)
commitce7f49ab741591d83e33e56948bac2f12de6e14e
tree29b291f5ccbeb9324f98f48e352a84d311314f69
parent490a79faf95e705ba0ffd9ebf04a624b379e53c9
net: move rps_sock_flow_table to net_hotdata

rps_sock_flow_table and rps_cpu_mask are used in fast 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-19-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/hotdata.h
include/net/rps.h
net/core/dev.c
net/core/sysctl_net_core.c