numam-spdk/test
Niklas Cassel 38d59d8b5a nvme: add function to check if controller supports zone append
Zone append is an optional command in the Zoned Namespace Command Set.
Add a convenience function to check if the controller supports the zone
append command.

The ratified NVMe TP 4056 added a CSI field (in cdw14) to the Get Log Page
command. However, since there already exist two public functions to get a
log page (spdk_nvme_ctrlr_cmd_get_log_page() and
spdk_nvme_ctrlr_cmd_get_log_page_ext()), avoid creating a third one for
now, since nvme_ctrlr_get_zns_cmd_and_effects_log() itself can leverage
one of the existing public functions.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Change-Id: I99516dbac8db6714488b4d6cabe64c27f46d6153
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5078
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2020-11-20 11:00:18 +00:00
..
app test: Use PRId64 for portability 2020-11-19 09:53:05 +00:00
bdev test: Use PRId64 for portability 2020-11-19 09:53:05 +00:00
blobfs script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
blobstore script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
common scripts/vagrant: Remove unused vhost stuff 2020-11-11 00:55:33 +00:00
compress script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
config_converter vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dd test/dd: Lower the number of block size tests 2020-08-20 09:27:21 +00:00
dpdk_memory_utility build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
env test: add some missing stubs 2020-11-02 11:23:21 +00:00
event event: remove printing legacy config for apps 2020-10-21 20:44:47 +00:00
external_code lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
ftl script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
fuzz test/iscsi: remove VPP tests 2020-08-17 08:19:46 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
json_config script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
lvol test/lvol: rename lvol test script 2020-10-20 08:54:53 +00:00
make build: add SPDK_NO_LIB_DEPS to build libraries w/o dependencies 2020-11-13 05:29:38 +00:00
nvme test: Use PRId64 for portability 2020-11-19 09:53:05 +00:00
nvmf script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
ocf test/ocf: remove unused nvme_cfg() function 2020-11-05 09:37:55 +00:00
openstack script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
pmem build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc build: Output executables from the app directory to build/bin 2020-06-15 15:27:16 +00:00
rpc_client lib/jsonrpc: Add a new API to send response for writing bool result. 2020-11-16 15:08:47 +00:00
spdkcli script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
unit nvme: add function to check if controller supports zone append 2020-11-20 11:00:18 +00:00
vhost test/vhost: Partition the VM drive more gracefully 2020-11-18 11:27:16 +00:00
vmd build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
Makefile build: add option to disable building unit tests 2020-03-10 09:12:21 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00