summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorGregory Detal <gregory.detal@gmail.com>2024-05-14 04:13:28 +0300
committerJakub Kicinski <kuba@kernel.org>2024-05-14 04:29:23 +0300
commit73c900aa3660dae2050af456d1031d098ab4cb1d (patch)
treec7e3e3ea2254648a2d5fbefe7103a0d0b177a690 /include/net
parentce5f6f71b029f6a96267a7d876da4a055d7d1611 (diff)
downloadlinux-73c900aa3660dae2050af456d1031d098ab4cb1d.tar.xz
mptcp: add net.mptcp.available_schedulers
The sysctl lists the available schedulers that can be set using net.mptcp.scheduler similarly to net.ipv4.tcp_available_congestion_control. Signed-off-by: Gregory Detal <gregory.detal@gmail.com> Reviewed-by: Mat Martineau <martineau@kernel.org> Tested-by: Geliang Tang <geliang@kernel.org> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: Mat Martineau <martineau@kernel.org> Link: https://lore.kernel.org/r/20240514011335.176158-5-martineau@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/mptcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/mptcp.h b/include/net/mptcp.h
index fb996124b3d5..0bc4ab03f487 100644
--- a/include/net/mptcp.h
+++ b/include/net/mptcp.h
@@ -97,6 +97,9 @@ struct mptcp_out_options {
};
#define MPTCP_SCHED_NAME_MAX 16
+#define MPTCP_SCHED_MAX 128
+#define MPTCP_SCHED_BUF_MAX (MPTCP_SCHED_NAME_MAX * MPTCP_SCHED_MAX)
+
#define MPTCP_SUBFLOWS_MAX 8
struct mptcp_sched_data {