diff options
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | 2022-04-27 15:50:01 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-04-29 17:25:14 -0700 |
commit | 6bb63ccc25d4a8cb8fe48efeda680cb13f84d1b0 (patch) | |
tree | 27a07b92bb40e431961f8ea6cb58b35e984fc353 /Documentation/networking | |
parent | 6961326e38fe571ac1d2180041ce3142c8fd24d5 (diff) | |
download | linux-stable-6bb63ccc25d4a8cb8fe48efeda680cb13f84d1b0.tar.gz linux-stable-6bb63ccc25d4a8cb8fe48efeda680cb13f84d1b0.tar.bz2 linux-stable-6bb63ccc25d4a8cb8fe48efeda680cb13f84d1b0.zip |
mptcp: Add a per-namespace sysctl to set the default path manager type
The new net.mptcp.pm_type sysctl determines which path manager will be
used by each newly-created MPTCP socket.
v2: Handle builds without CONFIG_SYSCTL
v3: Clarify logic for type-specific PM init (Geliang Tang and Paolo Abeni)
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/mptcp-sysctl.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/networking/mptcp-sysctl.rst b/Documentation/networking/mptcp-sysctl.rst index b0d4da71e68e..e263dfcc4b40 100644 --- a/Documentation/networking/mptcp-sysctl.rst +++ b/Documentation/networking/mptcp-sysctl.rst @@ -46,6 +46,24 @@ allow_join_initial_addr_port - BOOLEAN Default: 1 +pm_type - INTEGER + + Set the default path manager type to use for each new MPTCP + socket. In-kernel path management will control subflow + connections and address advertisements according to + per-namespace values configured over the MPTCP netlink + API. Userspace path management puts per-MPTCP-connection subflow + connection decisions and address advertisements under control of + a privileged userspace program, at the cost of more netlink + traffic to propagate all of the related events and commands. + + This is a per-namespace sysctl. + + * 0 - In-kernel path manager + * 1 - Userspace path manager + + Default: 0 + stale_loss_cnt - INTEGER The number of MPTCP-level retransmission intervals with no traffic and pending outstanding data on a given subflow required to declare it stale. |