From dfd62e575c6c39a188a2dbf4aa0c5d1ecf92c57d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 7 Jun 2020 21:19:49 +0200 Subject: [PATCH] ramips: enable packet steering by default on mt7621 It provides a significant performance boost, especially with flow offloading enabled Signed-off-by: Felix Fietkau --- .../base-files/etc/uci-defaults/01_enable_packet_steering | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 target/linux/ramips/mt7621/base-files/etc/uci-defaults/01_enable_packet_steering 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 +} -- 2.25.1