Spdk/test/unit/lib/nvme
Changpeng Liu eb5cb3db16 nvme: separate nvme_ctrlr_start() into different functions
Currently in the function nvme_ctrlr_start() the initialization
process is executed as a whole, in the case there are many controllers
in one system, which means other controllers must call the function
one by one.  While here, we add several states here, which can
help refactoring the initialization process.

Change-Id: I209cf964bbf6e151823a7ecdc6a3f6e6e69df297
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.gerrithub.io/424157
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-09-07 20:03:29 +00:00
..
nvme_ctrlr_cmd.c nvme: add Get/Set Feature wrappers with NSID 2018-06-12 17:59:33 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: nvme driver public API extension for Open-Channel 2018-06-12 17:59:33 +00:00
nvme_ctrlr.c nvme: separate nvme_ctrlr_start() into different functions 2018-09-07 20:03:29 +00:00
nvme_ns_cmd.c nvme: make nvme_ctrlr_start() static and can return correct errno 2018-09-05 21:55:38 +00:00
nvme_ns_ocssd_cmd.c ocssd: add chunk info list as mptr of vector reset 2018-07-09 18:54:22 +00:00
nvme_ns.c nvme: add helper to wait for internal commands 2018-05-28 01:43:55 +00:00
nvme_pcie.c test: Simplify the mock library 2018-08-09 17:18:23 +00:00
nvme_qpair.c test/nvme: add unit test cases for nvme_qpair.c 2018-07-10 01:02:36 +00:00
nvme_quirks.c nvme: add debug logs for matched quirks 2018-02-23 10:07:39 -05:00
nvme.c nvme: separate nvme_ctrlr_start() into different functions 2018-09-07 20:03:29 +00:00
Makefile ocssd: vector commands 2018-06-22 21:34:49 +00:00