diff options
author | Sebastian Sanchez <[email protected]> | 2017-02-08 05:26:25 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2017-02-19 09:18:35 -0500 |
commit | f3e862cb6894389a35d0beb10f73d62eb3317beb (patch) | |
tree | 2b9790fbcd778bedf92aa9f45b9a4a2375961d24 /tools/perf/util/trace-event-scripting.c | |
parent | a8715b97d63718fc5c4daebc465407c259aea265 (diff) |
IB/hfi1: Access hfi1_ibport through rcd pointer
Receive code paths use the QP's device and port
number to access the struct hfi1_ibport. When an
instance of struct hfi1_ctxtdata is present, it can
be used to access struct hfi1_ibport through a pointer.
This makes struct hfi1_ibport lookup time faster as an
array doesn't have to be indexed and access fields in
other cache-lines.
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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions