Thread (9 messages) 9 messages, 2 authors, 2025-09-10

Re: [PATCH] net: ethernet: sun4i-emac: free dma descriptor

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-09-04 14:24:47
Also in: linux-arm-kernel, lkml

On Wed,  3 Sep 2025 15:49:39 +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.

Fix this by properly releasing the descriptor.
Reading the docs, it appears that the need to free the desc is tied to
setting descriptor reuse flag. Which this driver does not do. So I'm
unclear why this is needed, maybe the dma engine driver is doing
something strange?

Could you repost this, CC the dmaengine ML, Vinod and the appropriate
SoC maintainers?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help