diff options
author | Leon Romanovsky <[email protected]> | 2019-10-02 14:56:27 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-10-04 15:29:55 -0300 |
commit | 594e6c5d41ed2471ab0b90f3f0b66cdf618b7ac9 (patch) | |
tree | 02b6260a56d432844e6369986ad4013fa904114c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3840c5b78803b2b6cc1ff820100a74a092c40cbb (diff) |
RDMA/nldev: Reshuffle the code to avoid need to rebind QP in error path
Properly unwind QP counter rebinding in case of failure.
Trying to rebind the counter after unbiding it is not going to work
reliably, move the unbind to the end so it doesn't have to be unwound.
Fixes: b389327df905 ("RDMA/nldev: Allow counter manual mode configration through RDMA netlink")
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Mark Zhang <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions