diff options
author | Guangguan Wang <guangguan.wang@linux.alibaba.com> | 2023-11-22 16:52:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-24 15:13:14 +0300 |
commit | f8e80fc4acebab0447567e77d6abc30fb44250cc (patch) | |
tree | 49c332a3d7f99990d267060ad453609d7f5a8255 /Documentation/networking | |
parent | a8d4879d5f1fac060719567d1a8e8f8e68a127fc (diff) | |
download | linux-f8e80fc4acebab0447567e77d6abc30fb44250cc.tar.xz |
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 'Documentation/networking')
-rw-r--r-- | Documentation/networking/smc-sysctl.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/networking/smc-sysctl.rst b/Documentation/networking/smc-sysctl.rst index 769149d98773..c6ef86ef4c4f 100644 --- a/Documentation/networking/smc-sysctl.rst +++ b/Documentation/networking/smc-sysctl.rst @@ -57,3 +57,11 @@ rmem - INTEGER only allowed 512KiB for SMC-R and 1MiB for SMC-D. Default: 64KiB + +smcr_max_links_per_lgr - INTEGER + Controls the max number of links can be added to a SMC-R link group. Notice that + the actual number of the links added to a SMC-R link group depends on the number + of RDMA devices exist in the system. The acceptable value ranges from 1 to 2. Only + for SMC-R v2.1 and later. + + Default: 2 |