Re: [PATCH net 2/2] vmxnet3: use DMA memory barriers where required
From: David Miller
Date: Mon May 14 2018 - 22:45:07 EST
From: <hpreg@xxxxxxxxxx>
Date: Mon, 14 May 2018 08:14:49 -0400
> The gen bits must be read first from (resp. written last to) DMA memory.
> The proper way to enforce this on Linux is to call dma_rmb() (resp.
> dma_wmb()).
>
> Signed-off-by: Regis Duchesne <hpreg@xxxxxxxxxx>
> Acked-by: Ronak Doshi <doshir@xxxxxxxxxx>
Applied and queued up for -stable.