Spdk/test/unit/lib
Evgeniy Kochetov 4b4b3cca9f nvme/ctrlr: Allow targets not supporting Keep Alive Timer feature ID
NVMe spec defines "Keep Alive Timer" feature ID as optional and there
are targets that do not support this. SPDK fails to connect to such
targets.

This patch allows Get Feature "Keep Alive" target to fail with
INVALID_FIELD status. In this case we just continue with keep alive
timer value stored in controller opts structure. This value is already
communicated to target in CONNECT command.

Fixes #1328

Signed-off-by: Evgeniy Kochetov <evgeniik@mellanox.com>
Change-Id: I52e7ea3cb66073ce6cc168a169989bd179041618
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1625
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-05-07 10:41:31 +00:00
..
bdev lvol: remove lvol_task structure 2020-04-24 15:45:21 +00:00
blob lib/blob: clear blobid and md_page on blob_create failure 2020-05-07 08:30:19 +00:00
blobfs lib/blobfs: remove spdk prefix from private APIs 2020-04-22 09:21:55 +00:00
event lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
ftl lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
idxd lib/idxd: add unit test for idxd_wq_config() 2020-04-23 15:48:32 +00:00
ioat ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
iscsi lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in iscsi.h 2020-04-20 07:38:29 +00:00
json ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
jsonrpc ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
log log: spdk_log_dump more characters than required 2020-04-14 11:34:45 +00:00
lvol ut/lvol: simplify UT by using handy CUnit macros 2020-03-31 07:57:10 +00:00
notify ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme nvme/ctrlr: Allow targets not supporting Keep Alive Timer feature ID 2020-05-07 10:41:31 +00:00
nvmf nvmf: allow to override virtual controller capabilities 2020-04-28 13:48:17 +00:00
reduce test: add generic unlink wrapper 2020-05-06 12:43:57 +00:00
scsi lib/scsi: Remove spdk prefix from private functions 2020-04-16 08:09:14 +00:00
sock sock/uring: use batched manner to get the cqes. 2020-05-06 12:43:33 +00:00
thread ut/thread: Test creating and destroying nested I/O channels 2020-04-09 13:44:14 +00:00
util ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
vhost unit: add vhost packed ring test 2020-04-15 03:55:59 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile lib/idxd: add unit test framework and first unit test 2020-04-23 15:48:32 +00:00