numam-spdk/lib/nvmf
Ben Walker b95fc6fc64 nvmf: Return the correct error for out-of-range QID
This one is actually a bit tough to deduce in the specification.
The NVMe-oF spec says that QID errors detected in the RDMA
transport shall return an RDMA-specific error indicating
the problem. However, our code doesn't detect the error in
RDMA-specific code, and it isn't clear if the language is
a "must" or a "should".

The NVMe specification does clearly indicate what error
to return on invalid QID in response to a Create
I/O Queue Pair command. For now, return that while
we game plan whether we need to call into the RDMA
transport to correctly report this error.

Change-Id: I7faf37bad9b9202bc50a906214a51c17e4808fc0
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/413858
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2018-06-06 17:10:57 +00:00
..
ctrlr_bdev.c nvmf: SGL support for NVMF RDMA Driver. 2018-06-04 17:15:49 +00:00
ctrlr_discovery.c bdev: Rename spdk_internal/bdev.h to spdk/bdev_module.h 2018-05-25 16:02:22 +00:00
ctrlr.c nvmf: Return the correct error for out-of-range QID 2018-06-06 17:10:57 +00:00
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvmf_internal.h nvmf: Quiesce I/O before closing spdk_nvmf_qpairs 2018-06-04 17:20:34 +00:00
nvmf.c nvmf: SGL support for NVMF RDMA Driver. 2018-06-04 17:15:49 +00:00
rdma.c env: add size parameter to spdk_mem_map_translate 2018-06-05 18:36:00 +00:00
request.c nvmf: Quiesce I/O before closing spdk_nvmf_qpairs 2018-06-04 17:20:34 +00:00
subsystem.c nvmf: Do not allow NN to change while connections present 2018-05-30 15:16:48 +00:00
transport.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
transport.h nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00