Spdk/lib/nvmf
Daniel Verkamp ce4fcbce71 nvme: add I/O qpair creation options
Add a new struct spdk_nvme_io_qpair_opts to allow the user to override
controller options on a per-I/O qpair basis.

Existing callers with qprio == 0 can be updated to:

  ... = spdk_nvme_ctrlr_alloc_io_qpair(ctrlr, NULL, 0);

Callers that need to specify a non-default qprio should be updated to:

  struct spdk_nvme_io_qpair_opts opts;
  spdk_nvme_ctrlr_get_default_io_qpair_opts(ctrlr, &opts, sizeof(opts));
  opts.qprio = SPDK_NVME_QPRIO_...;
  ... = spdk_nvme_ctrlr_alloc_io_qpair(ctrlr, &opts, sizeof(opts));

Change-Id: I8ac3ea369535cfde759abbe75e1d974b6450a800
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/369676
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-18 18:33:20 -04:00
..
direct.c nvme: add I/O qpair creation options 2017-07-18 18:33:20 -04:00
discovery.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
Makefile nvmf: split discovery service into its own file 2017-03-17 15:55:36 -07:00
nvmf_internal.h nvmf/rpc: add adrfam to listen address 2017-07-05 13:01:20 -04:00
nvmf.c nvmf/rpc: add adrfam to listen address 2017-07-05 13:01:20 -04:00
rdma.c nvmf/rpc: add adrfam to listen address 2017-07-05 13:01:20 -04:00
request.c nvmf: stub out Abort command support 2017-06-20 20:03:01 -04:00
request.h nvmf: stub out Abort command support 2017-06-20 20:03:01 -04:00
session.c nvmf: stub out Abort command support 2017-06-20 20:03:01 -04:00
session.h nvmf: stub out Abort command support 2017-06-20 20:03:01 -04:00
subsystem.c bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
subsystem.h nvmf: add discovery controller ops 2017-03-17 15:55:36 -07:00
transport.c include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
transport.h include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
virtual.c bdev: pass descriptors for I/O operations 2017-07-14 13:31:30 -04:00