Spdk/lib/nvme
Daniel Verkamp f750c4ebb5 nvme: apply Identify CNS quirk to NS ID Descriptor
Avoid sending CNS values other than 0 and 1 to controllers with the
Identify CNS quirk added in commit 6442451b10 ("nvme: add a quirk for
identify 0x2").

This probably doesn't affect either of the controllers with the quirk in
practice, since this command is already only sent to controllers that
report NVMe version 1.3 or newer, but let's add the check anyway for
consistency.

Change-Id: I858c28ab7d43714c501dd22d6797259054f0f0a8
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/410941
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-05-17 23:11:35 +00:00
..
Makefile build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
nvme_ctrlr_cmd.c nvme: use AER configuation structure when starting controller 2018-04-10 15:43:38 -04:00
nvme_ctrlr.c nvme: add a quirk for identify 0x2 2018-05-10 19:38:54 +00:00
nvme_internal.h nvme: add a quirk for identify 0x2 2018-05-10 19:38:54 +00:00
nvme_ns_cmd.c nvme: change num_children to be wider type 2018-04-23 18:20:17 +00:00
nvme_ns.c nvme: apply Identify CNS quirk to NS ID Descriptor 2018-05-17 23:11:35 +00:00
nvme_pcie.c nvme: capture VS register at init time 2018-04-30 17:19:07 +00:00
nvme_qpair.c scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvme_quirks.c nvme: add a quirk for identify 0x2 2018-05-10 19:38:54 +00:00
nvme_rdma.c nvme: capture VS register at init time 2018-04-30 17:19:07 +00:00
nvme_transport.c scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvme_uevent.c util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: require trid to be valid in nvme_ctrlr_probe 2018-04-19 17:51:14 -04:00