* [PATCH 0/2] wifi: mt76: fix RX NAPI teardown on mt7996 removal
@ 2026-07-17 11:00 Goliath Zhu
0 siblings, 0 replies; only message in thread
From: Goliath Zhu @ 2026-07-17 11:00 UTC (permalink / raw)
To: linux-wireless
Cc: nbd, lorenzo, ryder.lee, shayne.chen, sean.wang, matthias.bgg,
angelogioacchino.delregno, linux-kernel, linux-arm-kernel,
linux-mediatek, goliath.zhu
Fix two RX NAPI teardown issues in the mt7996 removal path.
The first patch disables the RX NAPI instances before the common DMA
cleanup deletes them. This is the RX counterpart of commit 78ab4be54953
("wifi: mt76: disable napi on driver removal"), which fixed the same
warning for TX NAPI.
The second patch fixes a regression introduced by commit 6b470f36616e
("wifi: mt76: Fix memory leak destroying device"). Keep visiting WED RRO
queues to release their page pools, but do not delete NAPI instances
which were never registered while WED is active.
Build-tested with CONFIG_MT7996E=m, CONFIG_NET_MEDIATEK_SOC_WED=y and
W=1.
Goliath Zhu (2):
wifi: mt76: mt7996: disable RX NAPI on driver removal
wifi: mt76: skip NAPI deletion for WED RRO queues
drivers/net/wireless/mediatek/mt76/dma.c | 4 +++-
drivers/net/wireless/mediatek/mt76/mt7996/init.c | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
base-commit: 58717b2a1365d06c8c64b72aa948541b53fe31eb
--
2.55.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-17 11:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 11:00 [PATCH 0/2] wifi: mt76: fix RX NAPI teardown on mt7996 removal Goliath Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox