mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
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>
This commit is contained in:
committed by
David S. Miller
parent
f8e80fc4ac
commit
1f2c9dd73f
@@ -65,3 +65,9 @@ smcr_max_links_per_lgr - INTEGER
|
||||
for SMC-R v2.1 and later.
|
||||
|
||||
Default: 2
|
||||
|
||||
smcr_max_conns_per_lgr - INTEGER
|
||||
Controls the max number of connections can be added to a SMC-R link group. The
|
||||
acceptable value ranges from 16 to 255. Only for SMC-R v2.1 and later.
|
||||
|
||||
Default: 255
|
||||
|
||||
Reference in New Issue
Block a user