]> www.infradead.org Git - users/hch/misc.git/commit
net: ethernet: mtk_eth_soc: revise QDMA packet scheduler settings
authorBo-Cun Chen <bc-bocun.chen@mediatek.com>
Wed, 16 Apr 2025 00:51:25 +0000 (01:51 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Apr 2025 15:13:41 +0000 (08:13 -0700)
commit1b66124135f5f8640bd540fadda4b20cdd23114b
treea058fe838a21494e5b1fa0d3494e8fadebf5a94c
parent6b02eb372c6776c9abb8bc81cf63f96039c24664
net: ethernet: mtk_eth_soc: revise QDMA packet scheduler settings

The QDMA packet scheduler suffers from a performance issue.
Fix this by picking up changes from MediaTek's SDK which change to use
Token Bucket instead of Leaky Bucket and fix the SPEED_1000 configuration.

Fixes: 160d3a9b1929 ("net: ethernet: mtk_eth_soc: introduce MTK_NETSYS_V2 support")
Signed-off-by: Bo-Cun Chen <bc-bocun.chen@mediatek.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://patch.msgid.link/18040f60f9e2f5855036b75b28c4332a2d2ebdd8.1744764277.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c