From 56b97f9cf388e5e24807edc3ea47634c428af32a Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 23 Jan 2025 12:47:17 +0100 Subject: [PATCH] Add help text for BPF MPTCP scheduler in MPTCP interface --- .../htdocs/luci-static/resources/view/mptcp/mptcp.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js b/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js index 9ad55e0da..80a7a5fcc 100644 --- a/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js +++ b/luci-app-mptcp/htdocs/luci-static/resources/view/mptcp/mptcp.js @@ -57,7 +57,13 @@ return L.view.extend({ o.value("netlink", _("Netlink")); } - o = s.option(form.ListValue, "mptcp_scheduler", _("Multipath TCP scheduler")); + o = s.option(form.ListValue, "mptcp_scheduler", _("Multipath TCP scheduler"), _('BPF schedulers (not available on all platforms):') + '
' + + _('bpf_burst => same as the default scheduler') + '
' + + _('bpf_red => sends all packets redundantly on all available subflows') + '
' + + _('bpf_first => always picks the first subflow to send data') + '
' + + _('bpf_rr => always picks the next available subflow to send data (round-robin)') + + ); o.value("default", _("default")); if (parseFloat(boardinfo.kernel.substring(0,4)) < 6) { o.value("roundrobin", "round-robin");