summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-03-11 03:53:10 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-11 03:53:10 +0300
commit16767c72a40f524fbd0441386f2c3b6f5ff283b0 (patch)
treebce9aba5da1c6a5ad11dcd92e6e358a689e9da24
parent05e059510edf7b6101ff85db2a2e2d1b6f31ee6d (diff)
parentaa5ec9d03b9c4459e528ecd75d84f6ef98fb2f5a (diff)
downloadlinux-16767c72a40f524fbd0441386f2c3b6f5ff283b0.tar.xz
Merge branch 'smc-sysctl-formatting-and-missing-entries'
Kyoji Ogasawara says: ==================== smc-sysctl formatting and missing entries update SMC sysctl documentation in two small steps. - patch 1 fixes indentation in the smcr_buf_type section - patch 2 documents missing sysctl parameters limit_smc_hs and hs_ctrl, including values/defaults and hs_ctrl usage notes ==================== Link: https://patch.msgid.link/20260309124541.22723-1-sawara04.o@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--Documentation/networking/smc-sysctl.rst43
1 files changed, 35 insertions, 8 deletions
diff --git a/Documentation/networking/smc-sysctl.rst b/Documentation/networking/smc-sysctl.rst
index 904a910f198e..a8b4f357174e 100644
--- a/Documentation/networking/smc-sysctl.rst
+++ b/Documentation/networking/smc-sysctl.rst
@@ -23,17 +23,17 @@ autocorking_size - INTEGER
Default: 64K
smcr_buf_type - INTEGER
- Controls which type of sndbufs and RMBs to use in later newly created
- SMC-R link group. Only for SMC-R.
+ Controls which type of sndbufs and RMBs to use in later newly created
+ SMC-R link group. Only for SMC-R.
- Default: 0 (physically contiguous sndbufs and RMBs)
+ Default: 0 (physically contiguous sndbufs and RMBs)
- Possible values:
+ Possible values:
- - 0 - Use physically contiguous buffers
- - 1 - Use virtually contiguous buffers
- - 2 - Mixed use of the two types. Try physically contiguous buffers first.
- If not available, use virtually contiguous buffers then.
+ - 0 - Use physically contiguous buffers
+ - 1 - Use virtually contiguous buffers
+ - 2 - Mixed use of the two types. Try physically contiguous buffers first.
+ If not available, use virtually contiguous buffers then.
smcr_testlink_time - INTEGER
How frequently SMC-R link sends out TEST_LINK LLC messages to confirm
@@ -111,3 +111,30 @@ smcr_max_recv_wr - INTEGER
like before having this control.
Default: 48
+
+limit_smc_hs - INTEGER
+ Whether to limit SMC handshake for newly created sockets.
+
+ When enabled, SMC listen path applies handshake limitation based on
+ handshake worker congestion and queued SMC handshake load.
+
+ Possible values:
+
+ - 0 - Disable handshake limitation
+ - 1 - Enable handshake limitation
+
+ Default: 0 (disable)
+
+hs_ctrl - STRING
+ Select the SMC handshake control profile by name.
+
+ This string refers to the name of a user-implemented
+ BPF struct_ops instance of type smc_hs_ctrl.
+
+ The selected profile controls whether SMC options are advertised
+ during TCP SYN/SYN-ACK handshake.
+
+ Only available when CONFIG_SMC_HS_CTRL_BPF is enabled.
+ Write an empty string to clear the current profile.
+
+ Default: empty string