summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-04-29 16:40:22 +0300
committerJakub Kicinski <kuba@kernel.org>2024-05-01 04:46:52 +0300
commitd480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (patch)
treea39bbf34dff1ec02f5eca5fbda21c1941e0b9c08 /include
parenta86a0661b86f310c0b73a30c829648864f0b2619 (diff)
downloadlinux-d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4.tar.xz
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 'include')
-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 a6cff6590426..290499f72e18 100644
--- a/include/net/hotdata.h
+++ b/include/net/hotdata.h
@@ -39,6 +39,7 @@ struct net_hotdata {
int dev_tx_weight;
int dev_rx_weight;
int sysctl_max_skb_frags;
+ int sysctl_skb_defer_max;
};
#define inet_ehash_secret net_hotdata.tcp_protocol.secret