summary refs log tree commit diff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2022-06-09 11:17:15 -0400
committerJakub Kicinski <kuba@kernel.org>2022-06-10 22:18:20 -0700
commit249eddaf651fda7cb32e9ebae4c6d5904b390d81 (patch)
treeb3254bc472819b0afed19f905eb428c64266ee1d /Documentation/networking
parente65775fdd389e4f47eb1972ef6372e20c6c2cc05 (diff)
downloadlinux-249eddaf651fda7cb32e9ebae4c6d5904b390d81.tar.gz
Documentation: add description for net.sctp.ecn_enable
Describe it in networking/ip-sysctl.rst like other SCTP options.

Fixes: 2f5268a9249b ("sctp: allow users to set netns ecn flag with sysctl")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/ip-sysctl.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index 5fe837505d43..9f41961d11d5 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -2950,6 +2950,18 @@ intl_enable - BOOLEAN
 
 	Default: 0
 
+ecn_enable - BOOLEAN
+        Control use of Explicit Congestion Notification (ECN) by SCTP.
+        Like in TCP, ECN is used only when both ends of the SCTP connection
+        indicate support for it. This feature is useful in avoiding losses
+        due to congestion by allowing supporting routers to signal congestion
+        before having to drop packets.
+
+        1: Enable ecn.
+        0: Disable ecn.
+
+        Default: 1
+
 
 ``/proc/sys/net/core/*``
 ========================