Spdk/test/unit/lib/nvme
Jim Harris df01076f70 nvme: add NVME_CTRLR_STATE_READ_VS
Read VS (Version) register as part of controller
initialization instead of controller construction.

This prepares for upcoming changes to make
controller attach fully asynchronous.  Since reading
fabrics registers is an asynchronous operation, it
will be easier to read the VS register as part of
controller initialization which operates as an
asynchronous state machine.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I771386dbdf5902633e0d9f91b3b20be98f26fdc3
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8076
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2021-05-28 08:14:06 +00:00
..
nvme_ctrlr_cmd.c nvme/ctrlr: Always access namespaces via getter function 2021-05-20 15:17:41 +00:00
nvme_ctrlr_ocssd_cmd.c test/nvme_ctrlr_ocssd_cmd: check ocssd supported 2021-04-19 12:49:35 +00:00
nvme_ctrlr.c nvme: add NVME_CTRLR_STATE_READ_VS 2021-05-28 08:14:06 +00:00
nvme_cuse.c nvme/cuse: add subsystem reset IOCTL support 2021-05-28 07:20:23 +00:00
nvme_fabric.c test/nvme_fabric: Remove priority assert check for rdma. 2021-05-12 08:48:28 +00:00
nvme_io_msg.c test/nvme_io_msg: cases for io_msg_ctrlr register and unregister 2021-03-29 07:35:04 +00:00
nvme_ns_cmd.c test/unit: Add unit test for Simple Copy Command 2021-05-14 09:59:54 +00:00
nvme_ns_ocssd_cmd.c ut/nvme: Fix uninitialized controller structure 2021-04-12 20:59:51 +00:00
nvme_ns.c test/nvme_ns: cases for identifying id descriptor and find descriptor 2021-04-27 08:35:27 +00:00
nvme_pcie_common.c test/nvme_pcie_common: cases for creating and deleting IO queue 2021-05-18 12:42:52 +00:00
nvme_pcie.c test/nvme_pcie: cases for mapping io cmd 2021-05-21 08:04:39 +00:00
nvme_poll_group.c test/nvme_poll_group: cases for getting and freeing stats 2021-04-19 12:48:52 +00:00
nvme_qpair.c test/nvme_qpair: cases for getting sgl print information 2021-05-06 07:13:09 +00:00
nvme_quirks.c log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
nvme_rdma.c unittest/nvme_rdma: increase code coverage for nvme_rdma.c 2021-04-12 22:40:33 +00:00
nvme_tcp.c nvme/tcp: Raname send_pdu to pdu in tcp_req. 2021-05-26 09:20:15 +00:00
nvme_transport.c test/nvme_transport: cases for adding and removing poll group 2021-03-22 09:46:18 +00:00
nvme.c test/nvme: cases for nvme parsing functions 2021-04-19 12:52:29 +00:00
Makefile test/nvme_fabric: build nvme fabric unittest file 2021-04-22 07:27:41 +00:00