diff options
| author | Parav Pandit <[email protected]> | 2018-08-28 14:45:32 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-09-06 13:35:16 -0600 |
| commit | 722c7b2bfeadbae8d9aaa08552c456e09d17a7f7 (patch) | |
| tree | 5358c1e33da4d484588fe2ab0de7b1cc65f930e7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f9d08f1e1939ad4d92e38bd3dee6842512f5bee6 (diff) | |
RDMA/{cma, core}: Avoid callback on rdma_addr_cancel()
Currently rdma_addr_cancel() is an async operation, which notifies that
cancel is done by executing the callback function given during
rdma_resolve_ip(). If resolve_ip request is already completed than
callback is not executed.
Instead, now rdma_resolve_addr() and rdma_addr_cancel() simplified in
following ways.
1. rdma_addr_cancel() now a synchronous method. If request was
pending, after it is cancelled, no callback is notified.
2. rdma_resolve_addr() and respective addr_handler() callback doesn't
need to hold reference to cm_id.
Signed-off-by: Parav Pandit <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions