Commit 3abc0e55 authored by Rex Lu's avatar Rex Lu Committed by David S. Miller
Browse files

net: mtk: wed: add dma mask limitation and GFP_DMA32 for device with more than 4GB DRAM



Limit tx/rx buffer address to 32-bit address space for board with more
than 4GB DRAM.

Fixes: 804775df ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)")
Fixes: 6757d345 ("net: ethernet: mtk_wed: introduce hw_rro support for MT7988")
Tested-by: default avatarDaniel Pawlik <pawlik.dan@gmail.com>
Tested-by: default avatarMatteo Croce <teknoraver@meta.com>
Signed-off-by: default avatarRex Lu <rex.lu@mediatek.com>
Co-developed-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: default avatarLorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d5d790ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment