[PATCH net v6 0/4] net: ethernet: mtk_wed: misc fixes
From: Zhi-Jun You
Date: Mon Oct 26 2026 - 06:09:17 EST
Ths patch series includes some fixes for issues that were discovered
by Sashiko and one original patch fixing issue I encountered.
Patch 1,2,3 fix issues that were found by Sashiko.
Patch 1 was compiled test only.
Patch 2,3,4 were tested on a mt7986.
Patch 1 fixes tx wdma ring reset for WED v3.
Patch 2 fixes the reset condition for rx wdma.
Patch 3 fixes rx ring and tx wdma ring not being freed up
Patch 4 fixes WED on non-DBDC mt7986.
---
Changes in v6:
- Update cover letter to address the platform that the patches were
tested on.
- Update message of patch 2 to clarify what's the issue.
- Update patch 3 to rely on ring descriptor instead of an extra flag.
- Squashed patch 5 into patch 4.
- Lin to v5: https://lore.kernel.org/all/20261016-wedfix-v5-0-8b02e78fd34f@xxxxxxxxx/
Changes in v5:
- Add cover letter.
- Add patch 3 to address Sashiko review on rx ring and tx wdma ring not
being freed up.
- Add patch 5 to address Sashiko review on error handling.
- Link to review: https://lore.kernel.org/all/179000700034.2160803.10594281691384015089@xxxxxxxxxx/
Changes in v4:
- Add patch 2 to address Sashiko review on rx wdma reset condition.
- Link to review: https://lore.kernel.org/all/20260730090030.201100-1-pabeni@xxxxxxxxxx/
Changes in v3:
- Add patch 1 to address Sashiko review on WED v3 tx wdma ring reset.
- Link to review: https://lore.kernel.org/netdev/20260706101044.161059-1-pabeni@xxxxxxxxxx/
Changes in v2:
- Address issues raisied by Sashiko in patch 4
- Link to review: https://lore.kernel.org/all/20260706101044.161059-1-pabeni@xxxxxxxxxx/
- Add comment to explain the special case
- Link to v1: https://lore.kernel.org/all/20260630144831.1109-1-hujy652@xxxxxxxxx/
---
To: Felix Fietkau <nbd@xxxxxxxx>
To: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
To: Andrew Lunn <andrew+netdev@xxxxxxx>
To: "David S. Miller" <davem@xxxxxxxxxxxxx>
To: Eric Dumazet <edumazet@xxxxxxxxxx>
To: Jakub Kicinski <kuba@xxxxxxxxxx>
To: Paolo Abeni <pabeni@xxxxxxxxxx>
To: Matthias Brugger <matthias.bgg@xxxxxxxxx>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
To: Sujuan Chen <sujuan.chen@xxxxxxxxxxxx>
To: Rex Lu <rex.lu@xxxxxxxxxxxx>
Cc: netdev@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-mediatek@xxxxxxxxxxxxxxxxxxx
---
Zhi-Jun You (4):
net: ethernet: mtk_wed: skip ring reset in wdma_tx_ring_setup for WED v3
net: ethernet: mtk_wed: fix reset condition for rx wdma
net: ethernet: mtk_wed: free up rings during detach
net: ethernet: mtk_wed: setup WDMA_RING_TX(0) for non-DBDC MT7986
drivers/net/ethernet/mediatek/mtk_wed.c | 27 ++++++++++++++++++++++++---
1 file changed, 24 insertions(+), 3 deletions(-)
---
base-commit: 7076f684d5132e6a6145e1da2fa74771ecd052e5
change-id: 20261018-wedfix-a60905150472
Best regards,
--
Zhi-Jun You <hujy652@xxxxxxxxx>