Skip to content

Commit a1602d7

Browse files
Gerd BayerPaolo Abeni
authored andcommitted
net/smc: fix documentation of buffer sizes
Since commit 833bac7 ("net/smc: Fix setsockopt and sysctl to specify same buffer size again") the SMC protocol uses its own default values for the smc.rmem and smc.wmem sysctl variables which are no longer derived from the TCP IPv4 buffer sizes. Fixup the kernel documentation to reflect this change, too. Fixes: 833bac7 ("net/smc: Fix setsockopt and sysctl to specify same buffer size again") Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com> Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com> Reviewed-by: Dust Li <dust.li@linux.alibaba.com> Link: https://lore.kernel.org/r/20231030170343.748097-1-gbayer@linux.ibm.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent 8ffbd16 commit a1602d7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Documentation/networking/smc-sysctl.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,16 @@ smcr_testlink_time - INTEGER
4444

4545
wmem - INTEGER
4646
Initial size of send buffer used by SMC sockets.
47-
The default value inherits from net.ipv4.tcp_wmem[1].
4847

4948
The minimum value is 16KiB and there is no hard limit for max value, but
5049
only allowed 512KiB for SMC-R and 1MiB for SMC-D.
5150

52-
Default: 16K
51+
Default: 64KiB
5352

5453
rmem - INTEGER
5554
Initial size of receive buffer (RMB) used by SMC sockets.
56-
The default value inherits from net.ipv4.tcp_rmem[1].
5755

5856
The minimum value is 16KiB and there is no hard limit for max value, but
5957
only allowed 512KiB for SMC-R and 1MiB for SMC-D.
6058

61-
Default: 128K
59+
Default: 64KiB

0 commit comments

Comments
 (0)