summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mediatek/mtk_eth_soc.h
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2022-05-20 20:11:26 +0200
committerDavid S. Miller <davem@davemloft.net>2022-05-22 22:24:32 +0100
commit62dfb4cc444649b3f841ddb4f472a12ed6422714 (patch)
tree630c9095196baf7661a15dd859a18101a7522ca4 /drivers/net/ethernet/mediatek/mtk_eth_soc.h
parent4b139b75cc9590136ab5eb015ebfd84568543e8c (diff)
net: ethernet: mtk_eth_soc: rely on GFP_KERNEL for dma_alloc_coherent whenever possible
Rely on GFP_KERNEL for dma descriptors mappings in mtk_tx_alloc(), mtk_rx_alloc() and mtk_init_fq_dma() since they are run in non-irq context. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.h')
0 files changed, 0 insertions, 0 deletions