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

Richard Cochran richardcochran at gmail.com
Tue Apr 19 06:28:53 PDT 2022


On Tue, Apr 19, 2022 at 08:52:20AM +0800, Tan Tee Min wrote:

> I agree that the fsleep(1) (=1us) is a big hammer.
> Thus in order to improve this, I’ve figured out a smaller delay
> time that is enough for the context descriptor to be ready which
> is ndelay(500) (=500ns).

Why isn't the context descriptor ready?

I mean, the frame already belongs to the CPU, right?

Thanks,
Richard



More information about the linux-arm-kernel mailing list