aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2019-10-09 13:09:28 -0300
committerJason Gunthorpe <[email protected]>2019-10-28 16:41:13 -0300
commit54375e7382952daded7002d1618eadaae859cecb (patch)
treef267aa2a4d9aca43fbdc3e39d16ebbe5719991dc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent9162420dde49c9a8f4819f28bf2d5c675fb12552 (diff)
RDMA/mlx5: Split implicit handling from pagefault_mr
The single routine has a very confusing scheme to advance to the next child MR when working on an implicit parent. This scheme can only be used when working with an implicit parent and must not be triggered when working on a normal MR. Re-arrange things by directly putting all the single-MR stuff into one function and calling it in a loop for the implicit case. Simplify some of the error handling in the new pagefault_real_mr() to remove unneeded gotos. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Artemy Kovalyov <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions