diff options
author | hpreg@vmware.com <hpreg@vmware.com> | 2018-05-14 08:14:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-14 22:43:57 -0400 |
commit | f3002c1374fb2367c9d8dbb28852791ef90d2bac (patch) | |
tree | 07f2fe75de5e4a5fa5ec1fafa90346c89d578f0e /arch | |
parent | 61aeecea40afb2b89933e27cd4adb10fc2e75cfd (diff) | |
download | linux-f3002c1374fb2367c9d8dbb28852791ef90d2bac.tar.bz2 |
vmxnet3: use DMA memory barriers where required
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@vmware.com>
Acked-by: Ronak Doshi <doshir@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions