WIFI-14603 Default TC fq_codel queue on GRE cause low GRE RX throughput

Signed-off-by: Ken <xshi@actiontec.com>
This commit is contained in:
Ken
2025-05-21 10:05:34 +08:00
parent a2e1ffe089
commit 5326684ad3

View File

@@ -0,0 +1,21 @@
# /etc/hotplug.d/iface/85-gre-qos
[ "$ACTION" == "ifup" ] || exit 0
. /lib/functions.sh
case "$(board_name)" in
cig,wf189|\
cig,wf189w|\
cig,wf189h|\
cig,wf672)
case "$INTERFACE" in
gre*)
dev=$(ubus call network.interface.$INTERFACE status | jsonfilter -e '@.l3_device')
[ -n "$dev" ] && {
tc qdisc del dev $dev root 2>/dev/null
tc qdisc add dev $dev root noqueue
}
;;
esac
esac