aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps')
-rwxr-xr-xtarget/linux/mediatek/base-files/etc/uci-defaults/99-net-ps16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps b/target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
new file mode 100755
index 0000000000..9267340317
--- /dev/null
+++ b/target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps
@@ -0,0 +1,16 @@
+uci set network.globals.default_rps_val=14
+uci set network.globals.default_rps_flow_cnt=256
+uci set network.globals.default_xps_val=14
+uci set network.globals.default_ps=1
+uci set network.eth0=device
+uci set network.eth0.name=eth0
+uci set network.lan0=device
+uci set network.lan0.name=lan0
+uci set network.lan1=device
+uci set network.lan1.name=lan1
+uci set network.lan2=device
+uci set network.lan2.name=lan2
+uci set network.lan3=device
+uci set network.lan3.name=lan3
+uci commit
+exit 0