+1
−1
+2
−2
Loading
This state indicates that a qpair has been added to a poll group and can be used to execute commands. However, in the future, we'll want to add more fine-grained states to track the state of qpair initialization (e.g. waiting for CONNECT, authentication in progress, etc.), so QPAIR_ACTIVE is renamed to QPAIR_ENABLED to make it more distinct from spdk_nvmf_qpair_is_active(). That way, spdk_nvmf_qpair_is_active() can be used to check whether a qpair is capable of executing commands (i.e. it's equivalent to the old QPAIR_ACTIVE state), while individual qpair states will provide more information about the initialization. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I48795fd5a507740222e021249b0e63fff720dfd4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22587 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>