diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-29 16:40:22 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-01 04:46:52 +0300 |
commit | d480dc76d9f8a72671a6f9a7d987d2389c2e2ee4 (patch) | |
tree | a39bbf34dff1ec02f5eca5fbda21c1941e0b9c08 /include/net | |
parent | a86a0661b86f310c0b73a30c829648864f0b2619 (diff) | |
download | linux-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/net')
-rw-r--r-- | include/net/hotdata.h | 1 |
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 |