aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2020-06-07 21:19:49 +0200
committerFelix Fietkau <nbd@nbd.name>2020-06-10 16:17:12 +0200
commitdfd62e575c6c39a188a2dbf4aa0c5d1ecf92c57d (patch)
treeffeda74ffeff75dab6b45ac58ccde0220b19faff /target/linux/ramips
parent4baf90de8d65fbecac3eede535bdd7e7c2fceda8 (diff)
downloadupstream-dfd62e575c6c39a188a2dbf4aa0c5d1ecf92c57d.tar.gz
upstream-dfd62e575c6c39a188a2dbf4aa0c5d1ecf92c57d.tar.bz2
upstream-dfd62e575c6c39a188a2dbf4aa0c5d1ecf92c57d.zip
ramips: enable packet steering by default on mt7621
It provides a significant performance boost, especially with flow offloading enabled Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering
new file mode 100644
index 0000000000..4883fd662d
--- /dev/null
+++ b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering
@@ -0,0 +1,4 @@
+uci -q get network.globals.packet_steering > /dev/null || {
+ uci set network.globals.packet_steering=1
+ uci commit
+}