From: Felix Fietkau Date: Sun, 7 Jun 2020 19:19:49 +0000 (+0200) Subject: ramips: enable packet steering by default on mt7621 X-Git-Tag: v21.02.0-rc1~2516 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dfd62e575c6c39a188a2dbf4aa0c5d1ecf92c57d;p=openwrt%2Fopenwrt.git ramips: enable packet steering by default on mt7621 It provides a significant performance boost, especially with flow offloading enabled Signed-off-by: Felix Fietkau --- 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 +}