diff options
author | 2023-08-21 15:25:15 -0700 | |
---|---|---|
committer | 2023-08-22 17:31:18 -0700 | |
commit | e3b2870b6d220d1cbd2d52d7acc9f0de9fdfeccf (patch) | |
tree | 428b64c25387b5b46d48080b359c37190298d062 /net/mptcp/protocol.h | |
parent | mptcp: add struct mptcp_sched_ops (diff) | |
download | linux-e3b2870b6d220d1cbd2d52d7acc9f0de9fdfeccf.tar.gz linux-e3b2870b6d220d1cbd2d52d7acc9f0de9fdfeccf.tar.bz2 linux-e3b2870b6d220d1cbd2d52d7acc9f0de9fdfeccf.zip |
mptcp: add a new sysctl scheduler
This patch adds a new sysctl, named scheduler, to support for selection
of different schedulers. Export mptcp_get_scheduler helper to get this
sysctl.
Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Geliang Tang <geliang.tang@suse.com>
Signed-off-by: Mat Martineau <martineau@kernel.org>
Link: https://lore.kernel.org/r/20230821-upstream-net-next-20230818-v1-4-0c860fb256a8@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/protocol.h')
-rw-r--r-- | net/mptcp/protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h index 985e8f86668d..bfa13a50f276 100644 --- a/net/mptcp/protocol.h +++ b/net/mptcp/protocol.h @@ -623,6 +623,7 @@ int mptcp_is_checksum_enabled(const struct net *net); int mptcp_allow_join_id0(const struct net *net); unsigned int mptcp_stale_loss_cnt(const struct net *net); int mptcp_get_pm_type(const struct net *net); +const char *mptcp_get_scheduler(const struct net *net); void mptcp_subflow_fully_established(struct mptcp_subflow_context *subflow, const struct mptcp_options_received *mp_opt); bool __mptcp_retransmit_pending_data(struct sock *sk); |