diff options
| author | Sebastian Sanchez <[email protected]> | 2017-05-26 05:35:44 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-06-27 16:58:12 -0400 |
| commit | b888429c202197916c8c549811a2dd62f090280d (patch) | |
| tree | b14810f8a3f6c79550d42f8eef76076b579cba6b /tools/perf/scripts/python/netdev-times.py | |
| parent | cb49366f3616fdf197893c24a5b2677b8c26ce29 (diff) | |
IB/hfi1: Remove atomic SDMA_REQ_SEND_DONE bit operation
The atomic SDMA_REQ_SEND_DONE bit is set by the
process-level code, and then the same process-level
code uses the bit to test that all packets have been
submitted incurring a costly atomic read.
Use a bool type with a READ_ONCE/WRITE_ONCE
pairing for this bit, and use the same condition that
is used to set the bit to test that all packets have
been submitted.
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions