Add configurations to enable WDMA Rx ring full drop for
solving Panther AX7800/AX8400 5G(MT7915) WA CPU bound issue.
If without this patch, system might run into WiFi Tx/Rx
deadlock issue or WiFi Tx small packet low throughput issue.
[Release-log]
N/A
Change-Id: I57cd4a8e3ae19bdcb34d7d042989b7c1327ea08e
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6193220
Fix the issue of mistakenly deleting entries in foe_clear_entry.
When packets are forwarded in the 6RD scenario,
HNAT entry is mistakenly deleted.
This patch fix it.
[Release-log]
N/A
Change-Id: I7ece4115f07eaca354d2c0301d6cafb2ba6e539c
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7531312
Fix QDMA TX queue page error issue.
If the TX queue page is changed before hnat_qos_shaper_ebl function,
it may cause the function to set queue config on wrong TX queue page.
In order to avoid this situation, we will check queue ID to
switch to correct TX queue page.
If without this patch, QDMA TX queue config will be wrong
when the numbers of TX queue is greater than 16.
[Release-log]
N/A
Change-Id: I42b013982885830355b4108d6bc49f2feac1ef08
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8203881
Fix refcount underflow issue in the pending_work.
If one of the Ethernet interface is down, the pending_work should not
call to mtk_stop() function again to avoid a refcount underflow.
Without this patch, the ETH may experience the kernel panic which
caused by a refcount underflow.
[Release-log]
N/A
Change-Id: I4e1f40640c09372cddad57994da03f70107f133a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8324564