summaryrefslogtreecommitdiffstats
path: root/net/core/hotdata.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-04-29 13:40:22 +0000
committerJakub Kicinski <kuba@kernel.org>2024-04-30 18:46:52 -0700
commitd480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (patch)
treea39bbf34dff1ec02f5eca5fbda21c1941e0b9c08 /net/core/hotdata.c
parenta86a0661b86f310c0b73a30c829648864f0b2619 (diff)
downloadlinux-stable-d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4.tar.gz
linux-stable-d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4.tar.bz2
linux-stable-d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4.zip
net: move sysctl_skb_defer_max to net_hotdata
sysctl_skb_defer_max is used in TCP fast path, move it to net_hodata. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20240429134025.1233626-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/hotdata.c')
-rw-r--r--net/core/hotdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/hotdata.c b/net/core/hotdata.c
index f17cbb4807b9..a359ff160d54 100644
--- a/net/core/hotdata.c
+++ b/net/core/hotdata.c
@@ -19,5 +19,6 @@ struct net_hotdata net_hotdata __cacheline_aligned = {
.dev_tx_weight = 64,
.dev_rx_weight = 64,
.sysctl_max_skb_frags = MAX_SKB_FRAGS,
+ .sysctl_skb_defer_max = 64,
};
EXPORT_SYMBOL(net_hotdata);