mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
qosmngr: airoha: Fix QoS issue with EN7523+IFC.
When the LUT1 IFC table overflows it seems to affect tagged TCP-based VLAN traffic and ingress flows are not properly setup in HW NAT.
This commit is contained in:
parent
8fee332f4c
commit
ce1b42e095
1 changed files with 35 additions and 26 deletions
|
|
@ -411,6 +411,7 @@ hw_commit_all() {
|
||||||
/userfs/bin/qosrule discpline Enable 0
|
/userfs/bin/qosrule discpline Enable 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! strings /proc/device-tree/compatible | grep -qFx econet,en7523; then
|
||||||
if [ -x /userfs/bin/blapi_cmd ]; then
|
if [ -x /userfs/bin/blapi_cmd ]; then
|
||||||
echo 1 > /proc/ifc_send_to_ppe
|
echo 1 > /proc/ifc_send_to_ppe
|
||||||
for tc in $(seq 0 7); do
|
for tc in $(seq 0 7); do
|
||||||
|
|
@ -439,6 +440,14 @@ hw_commit_all() {
|
||||||
/userfs/bin/ifc add vip pbit $pbit
|
/userfs/bin/ifc add vip pbit $pbit
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
if [ -x /userfs/bin/ifc ]; then
|
||||||
|
echo 1 > /proc/ifc_send_to_ppe
|
||||||
|
for pbit in $(seq 1 7); do
|
||||||
|
/userfs/bin/ifc add vip pbit $pbit
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
hw_nat -! > /dev/null 2>&1
|
hw_nat -! > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue