aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorBob Pearson <[email protected]>2020-10-13 12:07:42 -0500
committerJason Gunthorpe <[email protected]>2020-10-28 10:34:20 -0300
commitbb3ab2979fd69db23328691cb10067861df89037 (patch)
tree40ef31dbbc9cd78fa161ff3920f2e21b07596fe0 /tools/perf/scripts/python/bin/stackcollapse-report
parent5333499c6014224756e97fa1a1047dfa592d76d3 (diff)
RDMA/rxe: Compute PSN windows correctly
The code which limited the number of unacknowledged PSNs was incorrect. The PSNs are limited to 24 bits and wrap back to zero from 0x00ffffff. The test was computing a 32 bit value which wraps at 32 bits so that qp->req.psn can appear smaller than the limit when it is actually larger. Replace '>' test with psn_compare which is used for other PSN comparisons and correctly handles the 24 bit size. Fixes: 8700e3e7c485 ("Soft RoCE driver") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bob Pearson <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions