numam-spdk/include/spdk
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
..
assert.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
barrier.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
bdev.h bdev: add bdev_io optimizations 2017-09-12 11:16:50 -04:00
bit_array.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
blob_bdev.h blob_bdev: hotremove support 2017-09-28 12:46:18 -04:00
blob.h blob: add readv/writev support 2017-08-22 18:19:00 -04:00
blobfs.h io_channel: Remove per-channel priority 2017-05-26 13:42:19 -04:00
conf.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
copy_engine.h copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
crc32.h util: add CRC32 utility functions 2017-08-02 19:47:35 -04:00
endian.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
env.h env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
event.h reactor: add context_switch_monitor RPC 2017-09-01 12:46:18 -04:00
fd.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
gpt_spec.h bdev/gpt: dump partition name 2017-07-12 18:12:52 -04:00
histogram_data.h histogram: move nvme/perf histogram code to a common header 2017-06-14 14:20:03 -04:00
io_channel.h io_channel: allow user to provide a thread name 2017-08-29 13:11:08 -04:00
ioat_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
ioat.h copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
iscsi_spec.h iscsi: fix layout of logout request reason field 2017-09-22 16:11:11 -04:00
json.h json: add function to write UTF-16LE strings 2017-07-12 18:12:52 -04:00
jsonrpc.h jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
likely.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
log.h log: add new parm to spdk_trace_dump() 2017-09-06 17:33:03 -04:00
lvol.h lvol: disable spdk_lvol_resize 2017-10-05 16:51:20 -04:00
mmio.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nbd.h nbd: allow exporting more than one NBD at once 2017-08-07 17:56:21 -04:00
net.h net: Move module initialization into event_net 2017-06-20 13:46:37 -04:00
nvme_intel.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvme_spec.h bdev/nvme: support large (> 2TB) unmap requests 2017-09-28 14:17:15 -04:00
nvme.h nvme: add a public API to rename spdk_nvme_ctrlr_opts_set_defaults 2017-10-09 12:31:12 -04:00
nvmf_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
nvmf.h nvmf: add AllowAnyHost option to subsystems 2017-09-05 13:03:09 -04:00
pci_ids.h env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
queue_extras.h Break out queue.h code pulled from FreeBSD into a separate file. 2015-09-25 12:45:04 -07:00
queue.h Add extern "C" wrapper to all public headers 2016-02-12 07:52:35 -07:00
rpc.h jsonrpc: modify API to pass request to handler 2017-07-06 13:48:12 -04:00
scsi_spec.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
scsi.h scsi: increase max lun name length 2017-09-06 16:26:30 -04:00
stdinc.h build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
string.h lib: replace strerror with strerror_r 2017-08-15 16:47:01 -04:00
trace.h include: move standard includes into spdk/stdinc.h 2017-05-08 10:11:01 -07:00
util.h util: add spdk_u32_is_pow2() function 2017-08-11 19:36:30 -04:00
version.h version: add "v" to version string 2017-09-01 12:45:50 -04:00
vhost.h vhost: added public documentation 2017-10-06 18:55:31 -04:00