Spdk/test/unit/lib/nvmf
Michal Berger c0fb1b93d0 test/unit: [nvmf/ctrlr.c] Increase feature get|set coverage
Add tests for the following features:

  - SPDK_NVME_FEAT_TEMPERATURE_THRESHOLD (4),
  - SPDK_NVME_FEAT_ERROR_RECOVERY (5),

For Temperature Threshold feature the validity of the THSEL and TMPSEL
is covered as described in the NVMe spec (1.4):
	"Figure 279: Temperature Threshold – Command Dword 11"

For the Error Recovery feature the validity of the DULBE is covered
as decribed in the NVME spec (1.4):
	"Figure 280: Error Recovery – Command Dword 11"

Random value is selected for the lsb in the cdw11 (0x42).

Change-Id: Ia57ab4d79439ec315ddc9bbfdad8400aa926062a
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/692
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-02-27 10:15:40 +00:00
..
ctrlr_bdev.c nvmf: add const to nqn getters 2020-02-26 09:27:11 +00:00
ctrlr_discovery.c nvmf: remove redundant trid obj copy 2020-02-19 13:43:15 +00:00
ctrlr.c test/unit: [nvmf/ctrlr.c] Increase feature get|set coverage 2020-02-27 10:15:40 +00:00
fc_ls.c nvmf/fc: Fix compilation errors in FC ut 2020-01-22 13:54:34 +00:00
fc.c nvmf/fc: Fix compilation errors in FC ut 2020-01-22 13:54:34 +00:00
rdma.c lib/nvmf: enable pluggable NVMe-oF transports. 2020-01-16 09:10:38 +00:00
subsystem.c nvmf: pass listen done cb to transport specific code 2020-01-16 09:18:38 +00:00
tcp.c nvmf: add const to trid within listener allowed 2020-02-19 13:43:15 +00:00
Makefile NVMe-oF Target: Add FC transport. 2019-07-26 22:17:17 +00:00