diff options
| author | Zhi-Jun You <hujy652@gmail.com> | 2026-10-26 17:57:28 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-30 16:03:39 -0700 |
| commit | cb50f16f37fc3429085c454ee5978e05732d10ba (patch) | |
| tree | b7f93ec33b99a573287646ffb22a6463643d80ba /include/linux/stackprotector.h | |
| parent | 8dc87fc5d6a0eb337744737008177342a708bf36 (diff) | |
net: ethernet: mtk_wed: skip ring reset in wdma_tx_ring_setup for WED v3
Currently WED v3 tx wdma ring, ring reset happens in a separate code
block unconditionally.
Moreover, v3 has double the size of wdma_desc and has different init
values. mtk_wed_ring_reset doens't deal with that and would corrupt the
wdma_desc.
Fix this by skipping mtk_wed_ring_reset in mtk_wdma_tx_ring_setup for
WED v3.
Fixes: e2f64db13aa1 ("net: ethernet: mtk_wed: introduce WED support for MT7988")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://sashiko.dev/#/patchset/20260711112128.971-1-hujy652@gmail.com?part=1
Signed-off-by: Zhi-Jun You <hujy652@gmail.com>
Link: https://patch.msgid.link/20261026-wedfix-v6-1-a52f6b15d2fc@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
