summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorDust Li <dust.li@linux.alibaba.com>2022-03-01 12:43:58 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-01 17:25:12 +0300
commit12bbb0d163a90d81a2677cf7808d364697290207 (patch)
treecc1b0752c04cca5ee363f20aba99b404ef6e3161 /include/net/netns
parentdcd2cf5f2fc0d4d37aa5400b308d401a150c38b6 (diff)
downloadlinux-12bbb0d163a90d81a2677cf7808d364697290207.tar.xz
net/smc: add sysctl for autocorking
This add a new sysctl: net.smc.autocorking_size We can dynamically change the behaviour of autocorking by change the value of autocorking_size. Setting to 0 disables autocorking in SMC Signed-off-by: Dust Li <dust.li@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r--include/net/netns/smc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/smc.h b/include/net/netns/smc.h
index 1682eae50579..e5389eeaf8bd 100644
--- a/include/net/netns/smc.h
+++ b/include/net/netns/smc.h
@@ -17,5 +17,6 @@ struct netns_smc {
#ifdef CONFIG_SYSCTL
struct ctl_table_header *smc_hdr;
#endif
+ unsigned int sysctl_autocorking_size;
};
#endif