diff options
author | Guangguan Wang <guangguan.wang@linux.alibaba.com> | 2023-11-22 16:52:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-24 15:13:14 +0300 |
commit | 1f2c9dd73f0a279214f9b3c382b3f1df272b3253 (patch) | |
tree | a8db48e07f457ed13bf8a74e4a9743a1acfd0142 /include/net/netns | |
parent | f8e80fc4acebab0447567e77d6abc30fb44250cc (diff) | |
download | linux-1f2c9dd73f0a279214f9b3c382b3f1df272b3253.tar.xz |
net/smc: add sysctl for max conns per lgr for SMC-R v2.1
Add a new sysctl: net.smc.smcr_max_conns_per_lgr, which is
used to control the preferred max connections per lgr for
SMC-R v2.1. The default value of this sysctl is 255, and
the acceptable value ranges from 16 to 255.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/smc.h b/include/net/netns/smc.h index da7023587824..fc752a50f91b 100644 --- a/include/net/netns/smc.h +++ b/include/net/netns/smc.h @@ -23,5 +23,6 @@ struct netns_smc { int sysctl_wmem; int sysctl_rmem; int sysctl_max_links_per_lgr; + int sysctl_max_conns_per_lgr; }; #endif |