diff options
author | Somnath Kotur <somnath.kotur@broadcom.com> | 2017-11-06 11:07:29 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-11-13 15:53:57 -0500 |
commit | 9b40183c08e48f1d26d06d39f29808c9c6037561 (patch) | |
tree | 377a0f40b396d2b98a65ae0c2c7979527576b1bd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 685894dd9bd03b92803fbc72565789713f067d4c (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions