On Wed, Apr 20, 2022 at 01:15:08PM +0800, Tan Tee Min wrote:
No. The context descriptor (frame) is possibly still owned by the DMA controller in this situation.
So that is a problem. The solution is to postpone this logic until the driver owns the buffer. Doesn't the HW offer some means of notification, like an interrupt for example?
Thanks, Richard