summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@broadcom.com>2017-11-06 19:07:29 +0300
committerDoug Ledford <dledford@redhat.com>2017-11-13 23:53:57 +0300
commit9b40183c08e48f1d26d06d39f29808c9c6037561 (patch)
tree377a0f40b396d2b98a65ae0c2c7979527576b1bd /tools/perf/scripts/python/exported-sql-viewer.py
parent685894dd9bd03b92803fbc72565789713f067d4c (diff)
downloadlinux-9b40183c08e48f1d26d06d39f29808c9c6037561.tar.xz
RDMA/bnxt_re: Add memory barriers when processing CQ/EQ entries
The code determines if the next ring entry is valid before proceeding further to read the rest of the entry. The CPU can re-order and read the rest of the entry first, possibly reading a stale entry, if DMA of a new entry happens right after reading it. Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions