diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-29 13:40:22 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-30 18:46:52 -0700 |
commit | d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (patch) | |
tree | a39bbf34dff1ec02f5eca5fbda21c1941e0b9c08 /net/core/hotdata.c | |
parent | a86a0661b86f310c0b73a30c829648864f0b2619 (diff) | |
download | linux-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.c | 1 |
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); |