These functions will allow for sending the connect fabric command asynchronously. Additionally, this patch changes the return code for `nvme_fabric_qpair_connect()` when a timeout occurs from -EIO to -ECANCELED. It gives better description of the error as well as make it more consistent with `nvme_wait_for_completion*` APIs. Signed-off-by: Jim Harris <james.r.harris@intel.com> Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I95806626d3573ebe4b1568157fd57013c4b909a7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8604 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_fabric_ut.c |