Re: [PATCH net 2/2] vmxnet3: use DMA memory barriers where required

2018-05-14 Thread David Miller
From: 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 > Acked-by: Ronak

[PATCH net 2/2] vmxnet3: use DMA memory barriers where required

2018-05-14 Thread hpreg
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 Acked-by: Ronak Doshi --- drivers/net/vmxnet3/vmxnet3_drv.c | 22