Spdk/lib/nvme
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
..
Makefile nvme: add API for qpair poll groups. 2020-04-07 08:38:40 +00:00
nvme_ctrlr_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c nvme/ctrlr: Allow targets not supporting Keep Alive Timer feature ID 2020-05-07 10:41:31 +00:00
nvme_cuse.c lib/cuse: provide proper error codes up to RPC 2020-04-23 20:29:46 +00:00
nvme_cuse.h lib/nvme: add RPC for interacting with CUSE devices 2019-10-24 23:43:59 +00:00
nvme_fabric.c nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00
nvme_internal.h lib/nvme: set in_completion_context in poll group. 2020-04-24 16:36:03 +00:00
nvme_io_msg.c lib/nvme: assign NULL to external_io_msgs ring after free 2020-04-23 20:29:46 +00:00
nvme_io_msg.h lib/nvme: stop all NVMe io producers on detach 2019-11-28 12:36:58 +00:00
nvme_ns_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns_ocssd_cmd.c nvme: save separate metadata size to nvme request 2020-04-02 07:02:38 +00:00
nvme_ns.c nvme: Init the status object when tracking the req completion 2020-04-07 08:38:58 +00:00
nvme_opal_internal.h nvme/opal: remove the device mutex lock finally 2020-04-15 07:39:10 +00:00
nvme_opal.c lib/nvme: fix references to values in response_get_string 2020-04-24 07:07:43 +00:00
nvme_pcie.c lib/nvme: add naive poll group implementation to pcie. 2020-04-24 16:36:03 +00:00
nvme_poll_group.c lib/nvme: switch poll group to use connect/disconnect semantics. 2020-04-22 19:06:26 +00:00
nvme_qpair.c lib/nvme: abort all requests when disconnecting a qpair. 2020-04-22 19:06:26 +00:00
nvme_quirks.c nvme: add quirk for a minimum io queue size 2019-12-13 11:02:04 +00:00
nvme_rdma.c nvme/rdma: When RDMA hooks exist, prefer spdk_zmalloc for internal 2020-05-05 08:03:39 +00:00
nvme_tcp.c nvme: implement epoll in the tcp transport. 2020-04-24 19:38:00 +00:00
nvme_transport.c nvme/tcp: add naive implementation of poll_group api 2020-04-24 16:36:03 +00:00
nvme_uevent.c nvme: add vfio driver parse event 2019-05-29 02:36:41 +00:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00