diff options
author | 2020-12-01 09:52:10 -0600 | |
---|---|---|
committer | 2020-12-01 10:09:04 -0800 | |
commit | b71ec952234610b4f90ef17a2fdcb124d5320070 (patch) | |
tree | fa2ca8f1ae8fc7d8b776f10a5a7e49b877c2487e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'linux-can-fixes-for-5.10-20201130' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (diff) | |
download | wireguard-linux-b71ec952234610b4f90ef17a2fdcb124d5320070.tar.xz wireguard-linux-b71ec952234610b4f90ef17a2fdcb124d5320070.zip |
ibmvnic: Ensure that SCRQ entry reads are correctly ordered
Ensure that received Subordinate Command-Response Queue (SCRQ)
entries are properly read in order by the driver. These queues
are used in the ibmvnic device to process RX buffer and TX completion
descriptors. dma_rmb barriers have been added after checking for a
pending descriptor to ensure the correct descriptor entry is checked
and after reading the SCRQ descriptor to ensure the entire
descriptor is read before processing.
Fixes: 032c5e82847a ("Driver for IBM System i/p VNIC protocol")
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions