]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mt76: use GFP_DMA32 for page_pool buffer allocation
authorPeter Chiu <chui-hao.chiu@mediatek.com>
Wed, 8 Oct 2025 10:41:49 +0000 (12:41 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 24 Nov 2025 13:37:53 +0000 (14:37 +0100)
commita9730354ca26e16f80ddda3c88fd08075afe7078
tree4b90e24bbd9b759042b98b62550100f9a62f328d
parent385aab8fccd7a8746b9f1a17f3c1e38498a14bc7
wifi: mt76: use GFP_DMA32 for page_pool buffer allocation

Set GFP_DMA32 flag for page_pool buffers allocation since the hw relies
on 32-bit DMA addresses for WED offloading.

Tested-by: Daniel Pawlik <pawlik.dan@gmail.com>
Tested-by: Matteo Croce <teknoraver@meta.com>
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Co-developed-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20251008-wed-fixes-v1-2-8f7678583385@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h