diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-06-07 21:19:49 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-06-10 16:17:12 +0200 |
commit | dfd62e575c6c39a188a2dbf4aa0c5d1ecf92c57d (patch) | |
tree | ffeda74ffeff75dab6b45ac58ccde0220b19faff | |
parent | 4baf90de8d65fbecac3eede535bdd7e7c2fceda8 (diff) | |
download | upstream-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>
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering | 4 |
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 +} |