Since the connect will be completed asynchronously, we need to keep the pointer around so we can access (and free it!) later when the command completes. Also change the code to poll on the status using the new nvme_wait_for_completion_poll(), as prep for upcoming patches. Signed-off-by: Jim Harris <james.r.harris@intel.com> Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I28add8f967fd000afed1e50e491a16ea9da16c22 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8603 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: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
include | ||
lib | ||
.gitignore | ||
Makefile | ||
unittest.sh |