Spdk/test/unit/lib/nvme/nvme_rdma.c
Konrad Sztyber 98b483a35e nvme/rdma: use timeout when destroying qpairs
Replaced poll cycle count with a timeout when destroying a qpair that is
part of a poll group.  Tracking the time instead of a poll count is more
stable, as the number of poll cycles can vary based on the application's
behavior when destroying a qpair.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I7445bc1b411f2905aab7bf3dc7b2d3344712e1eb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9200
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2021-08-18 08:11:51 +00:00
..
.gitignore test/unit: add nvme_rdma.c unittests 2018-10-09 21:17:17 +00:00
Makefile test/unit: add nvme_rdma.c unittests 2018-10-09 21:17:17 +00:00
nvme_rdma_ut.c nvme/rdma: use timeout when destroying qpairs 2021-08-18 08:11:51 +00:00