Re: [PATCH] net: ethernet: sun4i-emac: free dma descriptor
From: Jakub Kicinski
Date: Mon Sep 08 2025 - 16:26:27 EST
On Sun, 7 Sep 2025 19:29:30 +0800 Conley Lee wrote:
> In the current implementation of the sun4i-emac driver, when using DMA to
> receive data packets, the descriptor for the current DMA request is not
> released in the rx_done_callback.
I wish you elaborated more on the reuse flag not being set :\
> Fix this by properly releasing the descriptor.
>
> Fixes: 47869e82c8b8 ("sun4i-emac.c: add dma support")
> Signed-off-by: Conley Lee <conleylee@xxxxxxxxxxx>
Hi Vinod, could you TAL? Is this fix legit or there's something wrong
with how the DMA engine API is used on this platform?
https://lore.kernel.org/all/tencent_D434891410B0717BB0BDCB1434969E6EB50A@xxxxxx/