net/smc: fix documentation of buffer sizes
Subsystems (3)
PATCH 1/1 net/smc: fix documentation of buffer sizes
Since commit 833bac7ec392 ("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.
--- Documentation/networking/smc-sysctl.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
Documentation/networking/smc-sysctl.rst +2 -4
@@ -44,18 +44,16 @@ smcr_testlink_time - INTEGER wmem - INTEGER Initial size of send buffer used by SMC sockets. - The default value inherits from net.ipv4.tcp_wmem[1]. The minimum value is 16KiB and there is no hard limit for max value, but only allowed 512KiB for SMC-R and 1MiB for SMC-D. - Default: 16K + Default: 64KiB rmem - INTEGER Initial size of receive buffer (RMB) used by SMC sockets. - The default value inherits from net.ipv4.tcp_rmem[1]. The minimum value is 16KiB and there is no hard limit for max value, but only allowed 512KiB for SMC-R and 1MiB for SMC-D. - Default: 128K + Default: 64KiB
Signature · 1 line
2.41.0
Quoted 10 lines · Gerd Bayer
Since commit
833bac7ec392("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 833bac7ec392 ("net/smc: Fix setsockopt and sysctl to specify same buffer size again")Signed-off-by Gerd Bayer <[email protected]>Reviewed-by Wenjia Zhang <[email protected]>
Quoted 31 lines
---
Documentation/networking/smc-sysctl.rst| 6 ++----1 file changed, 2 insertions(+), 4 deletions(-)Documentation/networking/smc-sysctl.rst +0
-0@@ -44,18 +44,16 @@ smcr_testlink_time - INTEGERwmem - INTEGER
Initial size of send buffer used by SMC sockets.Documentation/networking/smc-sysctl.rst +0
-1- The default value inherits from net.ipv4.tcp_wmem[1].The minimum value is 16KiB and there is no hard limit for max value, but only allowed 512KiB for SMC-R and 1MiB for SMC-D.
Documentation/networking/smc-sysctl.rst +1
-1- Default: 16K + Default: 64KiBrmem - INTEGER
Initial size of receive buffer (RMB) used by SMC sockets.Documentation/networking/smc-sysctl.rst +0
-1- The default value inherits from net.ipv4.tcp_rmem[1].The minimum value is 16KiB and there is no hard limit for max value, but only allowed 512KiB for SMC-R and 1MiB for SMC-D.
Documentation/networking/smc-sysctl.rst +1
-1- Default: 128K + Default: 64KiBSignature · 1 line
2.41.0
This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:
Quoted 8 lines · On Mon, 30 Oct 2023 18:03:43 +0100 you wrote:
Since commit
833bac7ec392("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.
[...]
Here is the summary with links:
- [net] net/smc: fix documentation of buffer sizes
https://git.kernel.org/netdev/net/c/a1602d749097
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html