aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/netns
diff options
context:
space:
mode:
authorGuangguan Wang <guangguan.wang@linux.alibaba.com>2023-11-22 21:52:57 +0800
committerDavid S. Miller <davem@davemloft.net>2023-11-24 12:13:14 +0000
commitf8e80fc4acebab0447567e77d6abc30fb44250cc (patch)
tree49c332a3d7f99990d267060ad453609d7f5a8255 /include/net/netns
parentocteontx2-pf: TC flower offload support for ICMP type and code (diff)
downloadwireguard-linux-f8e80fc4acebab0447567e77d6abc30fb44250cc.tar.xz
wireguard-linux-f8e80fc4acebab0447567e77d6abc30fb44250cc.zip
net/smc: add sysctl for max links per lgr for SMC-R v2.1
Add a new sysctl: net.smc.smcr_max_links_per_lgr, which is used to control the preferred max links per lgr for SMC-R v2.1. The default value of this sysctl is 2, and the acceptable value ranges from 1 to 2. Signed-off-by: Guangguan Wang <guangguan.wang@linux.alibaba.com> Reviewed-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 582212ada3ba..da7023587824 100644
--- a/include/net/netns/smc.h
+++ b/include/net/netns/smc.h
@@ -22,5 +22,6 @@ struct netns_smc {
int sysctl_smcr_testlink_time;
int sysctl_wmem;
int sysctl_rmem;
+ int sysctl_max_links_per_lgr;
};
#endif