aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAndrew Boyer <[email protected]>2016-11-23 12:39:21 -0500
committerDoug Ledford <[email protected]>2016-12-12 16:31:45 -0500
commitd4fb59256ac03d84f68e36c430b58d6fc76dd651 (patch)
tree439d45878decc2d4ea3eed161be54dffb034d87f /tools/perf/scripts/python/event_analyzing_sample.py
parentd38eb801aa145aedf4b97e8e0bb2e65763aa6149 (diff)
IB/rxe: Add support for zero-byte operations
The last_psn algorithm fails in the zero-byte case: it calculates first_psn = N, last_psn = N-1. This makes the operation unretryable since the res structure will fail the (first_psn <= psn <= last_psn) test in find_resource(). While here, use BTH_PSN_MASK to mask the calculated last_psn. Signed-off-by: Andrew Boyer <[email protected]> Reviewed-by: Moni Shoua <[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