docs: networking: mptcp: Add MPTCP sysctl entries
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Tue, 3 Nov 2020 19:05:08 +0000 (11:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Nov 2020 01:45:53 +0000 (17:45 -0800)
Describe the two MPTCP sysctls, what the values mean, and the default
settings.

Acked-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/index.rst
Documentation/networking/mptcp-sysctl.rst [new file with mode: 0644]
MAINTAINERS

index 63ef386..70c71c9 100644 (file)
@@ -70,6 +70,7 @@ Contents:
    lapb-module
    mac80211-injection
    mpls-sysctl
+   mptcp-sysctl
    multiqueue
    netconsole
    netdev-features
diff --git a/Documentation/networking/mptcp-sysctl.rst b/Documentation/networking/mptcp-sysctl.rst
new file mode 100644 (file)
index 0000000..6af0196
--- /dev/null
@@ -0,0 +1,26 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+=====================
+MPTCP Sysfs variables
+=====================
+
+/proc/sys/net/mptcp/* Variables
+===============================
+
+enabled - INTEGER
+       Control whether MPTCP sockets can be created.
+
+       MPTCP sockets can be created if the value is nonzero. This is
+       a per-namespace sysctl.
+
+       Default: 1
+
+add_addr_timeout - INTEGER (seconds)
+       Set the timeout after which an ADD_ADDR control message will be
+       resent to an MPTCP peer that has not acknowledged a previous
+       ADD_ADDR message.
+
+       The default value matches TCP_RTO_MAX. This is a per-namespace
+       sysctl.
+
+       Default: 120
index 17f5571..badaaa8 100644 (file)
@@ -12265,6 +12265,7 @@ L:      mptcp@lists.01.org
 S:     Maintained
 W:     https://github.com/multipath-tcp/mptcp_net-next/wiki
 B:     https://github.com/multipath-tcp/mptcp_net-next/issues
+F:     Documentation/networking/mptcp-sysctl.rst
 F:     include/net/mptcp.h
 F:     include/uapi/linux/mptcp.h
 F:     net/mptcp/