Re: [PATCH net 1/1] net: stmmac: add fsleep() in HW Rx timestamp checking loop

Richard Cochran
2022-04-20T12:54:50Z

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