commit | 459b78eba0da60e7629c839271d22ee70bdb54f6 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Fri Jul 01 17:25:10 2022 +0800 |
committer | developer <developer@mediatek.com> | Mon Jul 04 09:50:29 2022 +0800 |
tree | 5d6e69817c28ee9a6d03ed5403421b7fca3ddc64 | |
parent | 5206851a0762ffd95b9af36ef702d27ce655ec9c [diff] [blame] |
[][Enable WDMA Rx ring full drop for Panther] [Description] 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
diff --git a/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h index b6380ff..d74107b 100755 --- a/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h +++ b/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h
@@ -124,7 +124,8 @@ /* PSE Free Queue Flow Control */ #define PSE_FQFC_CFG1 0x100 #define PSE_FQFC_CFG2 0x104 -#define PSE_DROP_CFG 0x108 +#define PSE_NO_DROP_CFG 0x108 +#define PSE_PPE0_DROP 0x110 /* PSE Input Queue Reservation Register*/ #define PSE_IQ_REV(x) (0x140 + ((x - 1) * 0x4))