numam-spdk/lib
Niklas Cassel 64563ada5d nvme: add new state to get Identify IOCS Specific Controller data structs
Add a new state in the SPDK NVMe state machine in order to fetch
I/O Command Set Specific Controller data structures.

Right now there is only support for the Zoned Namespace Command Set
Specific Identify Controller data structure.

The NVM Command Set Specific Identify Controller data structure is
all zeroes right now, reserved for future use.
The Key Value Command Set Identify Controller data structure is also
all zeroes right now, reserved for future use.

The new NVME_CTRLR_STATE_IDENTIFY_IOCS_SPECIFIC state is added
after the NVME_CTRLR_STATE_IDENTIFY state. That way, if support for
the Zoned Namespace Command Set is enabled during probing, we will
fetch the Zoned Namespace Command Set Specific Identify Controller data
structure, regardless if any Zoned Namespaces are attached or not, and
no additional steps will be needed once a Zoned Namespace is attached.

Since we only have one command set to fetch, avoid creating
NVME_CTRLR_STATE_IDENTIFY_IOCS_SPECIFIC substates, although that will
probably be needed when support for another command set is added.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Change-Id: I95535b09b03b7ef2ee9a11eebdbd28aad66d65ba
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4367
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-09-30 07:26:04 +00:00
..
accel lib/accel: change task alloc from global mempool->per chan list 2020-08-21 08:25:04 +00:00
bdev bdev: move bdev_rpc library contents 2020-09-25 11:43:42 +00:00
blob lib/blob: fix an uint32_t overflow in blobstore init 2020-09-16 07:57:42 +00:00
blobfs Blobfs: add an assert for the memory allocation 2020-09-02 07:38:23 +00:00
conf lib/conf: allow multiple sections with same name 2020-07-22 12:24:08 +00:00
env_dpdk env: replace MEMPOOL_F_NO_PHYS_CONTIG with MEMPOOL_F_NO_IOVA_CONTIG 2020-09-29 09:37:44 +00:00
env_ocf lib/ocf_env: fix incorrect value for free memory estimate 2020-04-29 06:42:33 +00:00
event event: return const cpumask for spdk_app_get_core_mask() API 2020-09-29 09:38:53 +00:00
ftl lib/ftl: Return SPDK_POLLER_BUSY flag only when writes were submitted 2020-08-11 09:49:51 +00:00
idxd accel: add API to cancel a batch sequence 2020-07-27 22:43:40 +00:00
ioat lib/ioat: Update the major SO version for libspdk_ioat.so 2020-07-24 07:25:47 +00:00
iscsi iscsi: Allocate connections array from regular memory 2020-09-25 11:30:09 +00:00
json lib: json-nbd remove spdk prefix from static functions. 2020-05-21 09:19:00 +00:00
jsonrpc lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
log lib/log: add RPC to toggle timestamps 2020-08-31 07:46:36 +00:00
lvol all: Fix warnings found by gcc 9.3.0 and 9.3.1 2020-06-02 09:51:57 +00:00
nbd nbd: Add the O_DIRECT flag when opening the file. 2020-08-06 22:43:20 +00:00
net lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
notify lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
nvme nvme: add new state to get Identify IOCS Specific Controller data structs 2020-09-30 07:26:04 +00:00
nvmf build: cleanup LOCAL_SYS_LIBS for uuid 2020-09-29 09:36:25 +00:00
rdma rdma: Add new API spdk_rdma_qp_accept 2020-06-18 07:28:04 +00:00
reduce mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rocksdb bdev: move bdev_rpc library contents 2020-09-25 11:43:42 +00:00
rpc RPC: update the error message for current RPC state 2020-07-31 08:21:37 +00:00
rte_vhost read_fd_message: distinguish prints of log message 2020-05-25 09:08:00 +00:00
scsi scsi: add bdev resize callback support 2020-09-28 08:33:18 +00:00
sock sock: Add option to configure zero copy per socket 2020-09-29 09:35:47 +00:00
thread thread: Update thread->last_tsc at the start of polling 2020-09-22 11:41:30 +00:00
trace build: only link rt where needed 2020-09-29 09:36:25 +00:00
ut_mock mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
util util: add spdk_bit_pool 2020-09-15 07:12:44 +00:00
vhost vhost-scsi: support parameter changed notification 2020-09-28 08:33:18 +00:00
virtio virtio: use correct number of entries field 2020-09-04 08:13:48 +00:00
vmd env_dpdk/pci: remove device detach callback 2020-07-23 20:48:47 +00:00
Makefile event: move log_rpc contents to event library 2020-09-25 11:43:42 +00:00