diff options
| author | 2018-08-28 14:45:32 +0300 | |
|---|---|---|
| committer | 2018-09-06 13:35:16 -0600 | |
| commit | 722c7b2bfeadbae8d9aaa08552c456e09d17a7f7 (patch) | |
| tree | 5358c1e33da4d484588fe2ab0de7b1cc65f930e7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | RDMA/core: Rate limit MAD error messages (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 <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
