aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYishai Hadas <[email protected]>2020-06-30 12:39:13 +0300
committerJason Gunthorpe <[email protected]>2020-07-06 19:50:33 -0300
commit45ec21c971eddfb5e8e953e49a9dbe780f4a4997 (patch)
tree75c1a754745f0b3e01be20c649274d79a97702e5 /tools/perf/scripts/python/syscall-counts.py
parent1c8fb1ea5a1dbd2159e78fa580aaffb001794cfa (diff)
RDMA/mlx5: Refactor mlx5_ib_alloc_ucontext() response
Refactor mlx5_ib_alloc_ucontext() to set its response fields in a cleaner way. It includes, - Move the relevant code to a self contained function. - Calculate the response length once and drop redundant code all around. - Reuse previously set ucontext fields once preparing the response. The self contained function will be used in next patch as part of implementing the query ucontext functionality. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Yishai Hadas <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions