Re: [PATCH net-next 3/3] net: stmmac: Introducing support for Page Pool

From: Jon Hunter
Date: Thu Jul 25 2019 - 14:07:06 EST



On 25/07/2019 14:26, Jose Abreu wrote:

...

> Well, I wasn't expecting that :/
>
> Per documentation of barriers I think we should set descriptor fields
> and then barrier and finally ownership to HW so that remaining fields
> are coherent before owner is set.
>
> Anyway, can you also add a dma_rmb() after the call to
> stmmac_rx_status() ?

Yes. I removed the debug print added the barrier, but that did not help.

Jon

--
nvpublic