diff options
| author | Mike Marciniszyn <[email protected]> | 2016-02-14 12:10:04 -0800 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2016-03-10 20:38:07 -0500 |
| commit | 46a80d62e6e0ccfc9d8a05c5b773405b84a4afd7 (patch) | |
| tree | 077ea38ac2f7fd75c1334deadcc141ad6753a009 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 20f333b61300fa658952713ca9b8b4b72bbaed9f (diff) | |
IB/qib, staging/rdma/hfi1: add s_hlock for use in post send
This patch adds an additional lock to reduce contention on the s_lock.
This lock is used in post_send() so that the post_send is not
serialized with the send engine and other send related processing.
To do this the s_next_psn is now maintained on post_send() while
post_send() related fields are moved to a new cache line. There is
an s_avail maintained for the post_send() to mitigate trading cache
lines with the send engine. The lock is released/acquired around
releasing the just built packet to the egress mechanism.
Reviewed-by: Jubin John <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Dean Luick <[email protected]>
Signed-off-by: Harish Chegondi <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions