+16
−107
+1
−1
Loading
We only need to know if qpair changed the state to IBV_QPS_ERR. We can use IBV async events and CQE with error in order to understand that the qpair is in ERR, so we can avoid calling ibv_query_qp which is slow path. That reduces qpair destruction time which is crucial at big scale Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Change-Id: Iffffa3bf04bc3e3824298bb111d18bea86cdcc2e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22231 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>