numam-spdk/lib
GangCao dc2fb2ed39 nvme: add a public API to rename spdk_nvme_ctrlr_opts_set_defaults
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>
2017-10-09 12:31:12 -04:00
..
bdev bdev_virtio: support UNMAP requests > 4GB 2017-10-09 12:29:28 -04:00
blob blob: Add helper function for set up bitmask. 2017-10-05 16:47:45 -04:00
blobfs blobfs: Make the behaviour of "delete file" as unlink. 2017-09-15 17:13:14 -04:00
conf log: Use SPDK_ERRLOG in lieu of fprintf(stderr 2017-05-09 11:28:28 -07:00
copy copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
event app: add NoPci field to config file 2017-10-09 12:28:50 -04:00
ioat copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi iscsi: login poller per portal and portal cache 2017-10-06 17:00:45 -04:00
json json: add function to write UTF-16LE strings 2017-07-12 18:12:52 -04:00
jsonrpc log: rename SPDK_TRACELOG to SPDK_DEBUGLOG 2017-08-29 13:25:58 -04:00
log log: add new parm to spdk_trace_dump() 2017-09-06 17:33:03 -04:00
lvol lvol: Add size info to get_lvol_stores RPC 2017-10-05 16:49:56 -04:00
nbd nbd, nvmf: fix clang 4.0 packed member warnings 2017-09-07 12:15:45 -04:00
net log: remove uses of SPDK_TRACE_DEBUG 2017-08-29 15:07:13 -04:00
nvme nvme: add a public API to rename spdk_nvme_ctrlr_opts_set_defaults 2017-10-09 12:31:12 -04:00
nvmf nvmf: simplify spdk_nvmf_request_exec() 2017-09-29 13:03:24 -04:00
rocksdb blob_bdev: hotremove support 2017-09-28 12:46:18 -04:00
rpc rpc: add get_rpc_methods RPC call 2017-08-01 13:43:14 -04:00
scsi scsi: fix LUN 0 check in scsi_dev_construct 2017-10-06 16:37:27 -04:00
trace lib: replace strerror with strerror_r 2017-08-15 16:47:01 -04:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util blob: defer calling unload callback until dev is destroyed 2017-09-26 19:10:28 -04:00
vhost vhost: don't abort on event timeout 2017-10-06 19:41:53 -04:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00