mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 10:57:47 +00:00
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:
@@ -1,21 +1,20 @@
|
|||||||
# /etc/hotplug.d/iface/85-gre-qos
|
# /etc/hotplug.d/iface/85-greqos
|
||||||
|
[ "$ACTION" == "ifup" ] || exit 0
|
||||||
[ "$ACTION" == "ifup" ] || exit 0
|
|
||||||
|
. /lib/functions.sh
|
||||||
. /lib/functions.sh
|
|
||||||
|
case "$(board_name)" in
|
||||||
case "$(board_name)" in
|
cig,wf189|\
|
||||||
cig,wf189|\
|
cig,wf189w|\
|
||||||
cig,wf189w|\
|
cig,wf189h|\
|
||||||
cig,wf189h|\
|
cig,wf672)
|
||||||
cig,wf672)
|
case "$INTERFACE" in
|
||||||
case "$INTERFACE" in
|
gre*)
|
||||||
gre*)
|
dev=$(ubus call network.interface.$INTERFACE status | jsonfilter -e '@.l3_device')
|
||||||
dev=$(ubus call network.interface.$INTERFACE status | jsonfilter -e '@.l3_device')
|
[ -n "$dev" ] && {
|
||||||
[ -n "$dev" ] && {
|
tc qdisc del dev $dev root 2>/dev/null
|
||||||
tc qdisc del dev $dev root 2>/dev/null
|
tc qdisc add dev $dev root noqueue
|
||||||
tc qdisc add dev $dev root noqueue
|
}
|
||||||
}
|
;;
|
||||||
;;
|
esac
|
||||||
esac
|
|
||||||
esac
|
esac
|
||||||
Reference in New Issue
Block a user