diff options
author | Lijun Pan <ljp@linux.ibm.com> | 2021-02-13 03:36:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-16 00:11:04 +0100 |
commit | 1a42156f52bd4de0e2442671bc24b7ffc7b01c52 (patch) | |
tree | 974baadc392b1494ef1a003ec2b946e8699dc274 /drivers/net/phy/ste10Xp.c | |
parent | ibmvnic: simplify reset_long_term_buff function (diff) | |
download | linux-1a42156f52bd4de0e2442671bc24b7ffc7b01c52.tar.xz linux-1a42156f52bd4de0e2442671bc24b7ffc7b01c52.zip |
ibmvnic: substitute mb() with dma_wmb() for send_*crq* functions
The CRQ and subCRQ descriptors are DMA mapped, so dma_wmb(),
though weaker, is good enough to protect the data structures.
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Acked-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/ste10Xp.c')
0 files changed, 0 insertions, 0 deletions