summaryrefslogtreecommitdiff
path: root/include/net
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 /include/net
parentae6e22f7b7f0702015d86cfa036492b94be92f04 (diff)
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 'include/net')
-rw-r--r--include/net/hotdata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/hotdata.h b/include/net/hotdata.h
index 72170223385e..149e56528537 100644
--- a/include/net/hotdata.h
+++ b/include/net/hotdata.h
@@ -10,6 +10,7 @@ struct net_hotdata {
int gro_normal_batch;
int netdev_budget;
int netdev_budget_usecs;
+ int tstamp_prequeue;
};
extern struct net_hotdata net_hotdata;