diff options
author | Lijun Pan <ljp@linux.ibm.com> | 2021-01-29 19:19:04 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-01 20:21:12 -0800 |
commit | 665ab1eb18d7e8eaa8377fb8bf4924bfeb63bbce (patch) | |
tree | 85ab6b88507ea97575cf1e2a1b644fc8f5079e5b /drivers/net/ethernet/intel/igc | |
parent | 1a2b60f6f16527ce404a41ad4d201df9422e9aad (diff) |
ibmvnic: rework to ensure SCRQ entry reads are properly ordered
Move the dma_rmb() between pending_scrq() and ibmvnic_next_scrq()
into the end of pending_scrq() to save the duplicated code since
this dma_rmb will be used 3 times.
Signed-off-by: Lijun Pan <ljp@linux.ibm.com>
Acked-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions