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 /drivers/net/vmxnet3/vmxnet3_int.h | |
parent | 61aeecea40afb2b89933e27cd4adb10fc2e75cfd (diff) | |
download | linux-f3002c1374fb2367c9d8dbb28852791ef90d2bac.tar.gz linux-f3002c1374fb2367c9d8dbb28852791ef90d2bac.tar.bz2 linux-f3002c1374fb2367c9d8dbb28852791ef90d2bac.zip |
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 'drivers/net/vmxnet3/vmxnet3_int.h')
-rw-r--r-- | drivers/net/vmxnet3/vmxnet3_int.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h index b379bed5f51d..a2c554f8a61b 100644 --- a/drivers/net/vmxnet3/vmxnet3_int.h +++ b/drivers/net/vmxnet3/vmxnet3_int.h @@ -69,12 +69,12 @@ /* * Version numbers */ -#define VMXNET3_DRIVER_VERSION_STRING "1.4.15.0-k" +#define VMXNET3_DRIVER_VERSION_STRING "1.4.16.0-k" /* Each byte of this 32-bit integer encodes a version number in * VMXNET3_DRIVER_VERSION_STRING. */ -#define VMXNET3_DRIVER_VERSION_NUM 0x01040f00 +#define VMXNET3_DRIVER_VERSION_NUM 0x01041000 #if defined(CONFIG_PCI_MSI) /* RSS only makes sense if MSI-X is supported. */ |