Messages in this thread | | | Date | Wed, 20 Apr 2022 05:54:39 -0700 | From | Richard Cochran <> | Subject | Re: [PATCH net 1/1] net: stmmac: add fsleep() in HW Rx timestamp checking loop |
| |
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
| |