summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Köppeler2026-02-18 12:08:04 +0000
committerToke Høiland-Jørgensen2026-02-25 14:37:32 +0000
commit8154ad756957153e14df64e9439a5f1fb81f65c5 (patch)
treed84dd6adb21e7fad01c7ba1251729f0783ed3749
parentfaad88a4889805495413ea1553e10515b1d8531b (diff)
downloadluci-master.tar.gz
luci-app-sqm: add use_mq config optionHEADmaster
Adds mq config option for luci-app-sqm. This controls the use_mq config option of the sqm scripts. Signed-off-by: Jonas Köppeler <j.koeppeler@tu-berlin.de>
-rw-r--r--applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js b/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js
index 6acb25fa7a..2ebf8ece44 100644
--- a/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js
+++ b/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js
@@ -133,6 +133,10 @@ return view.extend({
o = s.taboption("tab_qdisc", form.Flag, "qdisc_advanced", _("Advanced Configuration"), _("Advanced options will only be used as long as this box is checked."));
o.default = false;
+ o = s.taboption("tab_qdisc", form.Flag, "use_mq", _("Enable multi-queue config"), _("Enable multi-queue qdisc on supported hardware. If .qos script does not support mq this option is ignored."));
+ o.default = false;
+ o.depends("qdisc_advanced", "1");
+
o = s.taboption("tab_qdisc", form.ListValue, "squash_dscp", _("Squash DSCP (ingress)"), _("Squash DSCP markings on inbound packets"));
o.value("1", "SQUASH");
o.value("0", "DO NOT SQUASH");