aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sysctl_net_core.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-03-06 16:00:16 +0000
committerJakub Kicinski <kuba@kernel.org>2024-03-07 21:12:41 -0800
commitf59b5416c396ac4910dd7a0cdf26cbb0e1faf529 (patch)
tree1b784ffa55c2fe8ea83ada0003a36faf1d24fe47 /net/core/sysctl_net_core.c
parentnet: move netdev_budget and netdev_budget to net_hotdata (diff)
downloadwireguard-linux-f59b5416c396ac4910dd7a0cdf26cbb0e1faf529.tar.xz
wireguard-linux-f59b5416c396ac4910dd7a0cdf26cbb0e1faf529.zip
net: move netdev_tstamp_prequeue into net_hotdata
netdev_tstamp_prequeue is used in rx path. Move it 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-4-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sysctl_net_core.c')
-rw-r--r--net/core/sysctl_net_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index a9c2d798b219..bddd07da0998 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -499,7 +499,7 @@ static struct ctl_table net_core_table[] = {
#endif
{
.procname = "netdev_tstamp_prequeue",
- .data = &netdev_tstamp_prequeue,
+ .data = &net_hotdata.tstamp_prequeue,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec