diff options
author | Mark Zhang <[email protected]> | 2023-01-04 10:03:41 +0200 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-01-10 10:49:50 +0200 |
commit | ccae0447af0e471426beea789a52b2b6605663e0 (patch) | |
tree | 7077423578cebd1540ae94db10f0176a9a5af1ba /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 8d037973d48c026224ab285e6a06985ccac6f7bf (diff) |
RDMA/cma: Refactor the inbound/outbound path records process flow
Refactors based on comments [1] of the multiple path records support
patchset:
- Return failure if not able to set inbound/outbound PRs;
- Simplify the flow when receiving the PRs from netlink channel: When
a good PR response is received, unpack it and call the path_query
callback directly. This saves two memory allocations;
- Define RDMA_PRIMARY_PATH_MAX_REC_NUM in a proper place.
[1] https://lore.kernel.org/linux-rdma/[email protected]/
Signed-off-by: Mark Zhang <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]> #srp
Link: https://lore.kernel.org/r/7610025d57342b8b6da0f19516c9612f9c3fdc37.1672819376.git.leonro@nvidia.com
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions