]> git.ipfire.org Git - thirdparty/linux.git/commit
net: airoha: Get rid of dma_sync_single_for_device() in airoha_qdma_fill_rx_queue()
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 25 Jun 2025 14:43:15 +0000 (16:43 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Jun 2025 00:11:01 +0000 (17:11 -0700)
commit4cd9d227ab838b3590c4b27e3707b8c3ef14d7e9
treebd4f41cbdf91478a59e767de1cb07a914075bcb0
parent11cd0206987205ee05b0abd70a8eafa400ba89e3
net: airoha: Get rid of dma_sync_single_for_device() in airoha_qdma_fill_rx_queue()

Since the page_pool for airoha_eth driver is created with
PP_FLAG_DMA_SYNC_DEV flag, we do not need to sync_for_device each page
received from the pool since it is already done by the page_pool codebase.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://patch.msgid.link/20250625-airoha-sync-for-device-v1-1-923741deaabf@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c