summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyoji Ogasawara <sawara04.o@gmail.com>2026-03-09 15:45:40 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-11 03:53:03 +0300
commitaa5ec9d03b9c4459e528ecd75d84f6ef98fb2f5a (patch)
treebce9aba5da1c6a5ad11dcd92e6e358a689e9da24
parent4a51ac9056c17e8216b245cd16152eefbd21abfb (diff)
downloadlinux-aa5ec9d03b9c4459e528ecd75d84f6ef98fb2f5a.tar.xz
net/smc: Add documentation for limit_smc_hs and hs_ctrl
Document missing SMC sysctl parameters limit_smc_hs and hs_ctrl Signed-off-by: Kyoji Ogasawara <sawara04.o@gmail.com> Reviewed-by: D. Wythe<alibuda@linux.alibaba.com> Link: https://patch.msgid.link/20260309124541.22723-3-sawara04.o@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--Documentation/networking/smc-sysctl.rst27
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/networking/smc-sysctl.rst b/Documentation/networking/smc-sysctl.rst
index 17b8314c0e5e..a8b4f357174e 100644
--- a/Documentation/networking/smc-sysctl.rst
+++ b/Documentation/networking/smc-sysctl.rst
@@ -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