dc2fb2ed39
This change is relating to add a new public API spdk_nvme_connect() under include/spdk/nvme.h. This new spdk_nvme_connect() API will connect the user specified trid and have a user optional ctlr opts. Rename this API and make it as public. A typical usage of this API as following: 1. struct spdk_nvme_ctrlr_opts user_opts = {} 2. Call spdk_nvme_ctrlr_get_default_ctrlr_opts(&user_opts, sizeof(user_opts)) 3. Modify the content of the initialized user_opts with user required value like user_opts.num_io_queues = 8 4. Call spdk_nvme_connect(&trid, &user_opts, sizeof(user_opts)) Change-Id: Ideec8247365ebf7dd15069e29821be8ea27b08be Signed-off-by: GangCao <gang.cao@intel.com> Reviewed-on: https://review.gerrithub.io/380849 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
.. | ||
lib | ||
Makefile |