]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Documentation: add description for net.sctp.ecn_enable
authorXin Long <lucien.xin@gmail.com>
Thu, 9 Jun 2022 15:17:15 +0000 (11:17 -0400)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Jun 2022 05:18:20 +0000 (22:18 -0700)
Describe it in networking/ip-sysctl.rst like other SCTP options.

Fixes: 2474215ea745 ("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>
Documentation/networking/ip-sysctl.rst

index 5fe837505d43012f18edaee96150af963189f8a9..9f41961d11d526e2006fe2e823cfdabd06e88b72 100644 (file)
@@ -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/*``
 ========================