net: ethernet: mtk_eth_soc: net: revise NETSYSv3 hardware configuration
authorBo-Cun Chen <bc-bocun.chen@mediatek.com>
Thu, 17 Apr 2025 16:41:07 +0000 (17:41 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Apr 2025 01:51:48 +0000 (18:51 -0700)
commit491ef1117c56476f199b481f8c68820fe4c3a7c2
treee37439ed06a834b8d5251f0b3705eacf7ec3f90e
parentd63527e109e811ef11abb1c2985048fdb528b4cb
net: ethernet: mtk_eth_soc: net: revise NETSYSv3 hardware configuration

Change hardware configuration for the NETSYSv3.
 - Enable PSE dummy page mechanism for the GDM1/2/3
 - Enable PSE drop mechanism when the WDMA Rx ring full
 - Enable PSE no-drop mechanism for packets from the WDMA Tx
 - Correct PSE free drop threshold
 - Correct PSE CDMA high threshold

Fixes: 1953f134a1a8b ("net: ethernet: mtk_eth_soc: add NETSYS_V3 version support")
Signed-off-by: Bo-Cun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/b71f8fd9d4bb69c646c4d558f9331dd965068606.1744907886.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c
drivers/net/ethernet/mediatek/mtk_eth_soc.h