From 34abaa05fe4c4edd2b0679a21eda7500d0b38fa5 Mon Sep 17 00:00:00 2001
From: sandeep sharma <sandeep.sharma@iopsys.eu>
Date: Thu, 20 Jan 2022 12:14:58 +0000
Subject: [PATCH] Fixed: QoS statistics for Eagle LAN ports end up on the wrong
 queue

---
 iopsys-brcm63xx-arm/base-files/etc/init.d/switch | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/iopsys-brcm63xx-arm/base-files/etc/init.d/switch b/iopsys-brcm63xx-arm/base-files/etc/init.d/switch
index 1d23be23a..690282536 100755
--- a/iopsys-brcm63xx-arm/base-files/etc/init.d/switch
+++ b/iopsys-brcm63xx-arm/base-files/etc/init.d/switch
@@ -15,6 +15,10 @@ boot() {
 		if [ -n "$ethwan" ]; then
 			ethswctl -c wan -i $ethwan -o enable
 		fi
+		
+		if grep -qE '[0-9]+ archer$' /proc/devices; then
+                        ethswctl -c quemap -v 0x0f -q 0x33333210
+                fi
 	fi
 
 	if [ -n "$(which tmctl)" ]; then
-- 
GitLab