diff options
| author | Zhi-Jun You <hujy652@gmail.com> | 2026-10-26 17:57:29 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-30 16:03:39 -0700 |
| commit | 7180a42d8e616f919dcff4b90a13b9a5ecea665b (patch) | |
| tree | ec329224ec9a0023605bf7241bb2c8daf182316b /include/linux/timerqueue.h | |
| parent | cb50f16f37fc3429085c454ee5978e05732d10ba (diff) | |
net: ethernet: mtk_wed: fix reset condition for rx wdma
In mtk_wdma_rx_reset, currently only resets the CPU index of the rings
that doesn't have a descriptor. This is wrong because no descriptor
means the ring is not configured.
Also mtk_wed_start makes sure that all rx_wdma rings are set up this
would lead to no ring getting their CPU index reset.
Fix this by inverting the reset condition so allocated rings will be
reset.
Fixes: 4c5de09eb0d0 ("net: ethernet: mtk_wed: add configure wed wo support")
Reported-by: Sashiko <sashiko-bot@kernel.org>
Link: https://sashiko.dev/#/patchset/20260724172040.1653-1-hujy652%40gmail.com
Signed-off-by: Zhi-Jun You <hujy652@gmail.com>
Link: https://patch.msgid.link/20261026-wedfix-v6-2-a52f6b15d2fc@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
