Spdk/test/unit/lib/nvme
Jim Harris b49fa72b22 nvme/tcp: use new async+poll APIs for fabrics connect
The fabric connect command is now sent without.  It will make it
possible to make `nvme_tcp_ctrlr_connect_qpair()` non-blocking too by
moving the polling to process_completions (this will be done in
subsequent patches).  Additionally, two extra states,
`NVME_TCP_QPAIR_STATE_FABRIC_CONNECT_SEND` and
`NVME_TCP_QPAIR_STATE_FABRIC_CONNECT_POLL`, were added to keep track of
the state of the connect command.  These states are only used by the
initiator code, as the target doesn't need them.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I25c16501e28bb3fbfde416b7c9214f42eb126358
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8605
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>
2021-08-31 08:38:16 +00:00
..
nvme_ctrlr_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ctrlr_ocssd_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ctrlr.c ut/nvme: add process to a ctrlr in ANA resize test 2021-08-26 13:00:31 +00:00
nvme_cuse.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_fabric.c nvme: add async+poll APIs for nvme_fabric_qpair_connect 2021-08-31 08:38:16 +00:00
nvme_io_msg.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns_ocssd_cmd.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_ns.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_opal.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_pcie_common.c nvme: enable multi-process Async Event Reporting 2021-08-26 07:37:44 +00:00
nvme_pcie.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_poll_group.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_qpair.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_quirks.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_rdma.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme_tcp.c nvme/tcp: use new async+poll APIs for fabrics connect 2021-08-31 08:38:16 +00:00
nvme_transport.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
nvme.c test: optimize unit test .gitignore files 2021-08-20 07:29:57 +00:00
Makefile test/nvme_opal: build nvme_opal unittest file 2021-06-07 07:24:47 +00:00