[PATCH net] net: airoha: Fix page recycling in airoha_qdma_rx_process()
Jakub Kicinski
kuba at kernel.org
Wed May 14 19:09:17 PDT 2025
On Tue, 13 May 2025 18:34:44 +0200 Lorenzo Bianconi wrote:
> Do not recycle the page twice in airoha_qdma_rx_process routine in case
> of error. Just run dev_kfree_skb() if the skb has been allocated and marked
> for recycling. Run page_pool_put_full_page() directly if the skb has not
> been allocated yet.
> Moreover, rely on DMA address from queue entry element instead of reading
> it from the DMA descriptor for DMA syncing in airoha_qdma_rx_process().
>
> Fixes: e12182ddb6e71 ("net: airoha: Enable Rx Scatter-Gather")
Missed your sign-off.
--
pw-bot: cr
More information about the Linux-mediatek
mailing list