luci-mod-network: interfaces.js: add global packet steering option 3775/head
authorAlan Swanson <reiver@improbability.net>
Sat, 21 Mar 2020 16:21:00 +0000 (16:21 +0000)
committerAlan Swanson <reiver@improbability.net>
Sat, 21 Mar 2020 16:21:00 +0000 (16:21 +0000)
Previously an undocumented "default_ps" option without a corresponding luci
entry. Hotplug script was updated in openwrt master to use "packet_steering"
as the option and now defaults to off.

Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d3868f15f876507db54afacdef22a7059011a54e
Signed-off-by: Alan Swanson <reiver@improbability.net>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 5cc452c..0e6e5a2 100644 (file)
@@ -874,6 +874,9 @@ return L.view.extend({
                o = s.option(form.Value, 'ula_prefix', _('IPv6 ULA-Prefix'));
                o.datatype = 'cidr6';
 
+               o = s.option(form.Flag, 'packet_steering', _('Packet Steering'), _('Enable packet steering across all CPUs. May help or hinder network speed.'));
+               o.optional = true;
+
 
                if (dslModemType != null) {
                        s = m.section(form.TypedSection, 'dsl', _('DSL'));