numam-spdk/scripts/rpc
Shuhei Matsumoto 260f9a77c3 bdev/nvme: Set per-controller PRCHK options by JSON RPC
Add prchk_reftag and prchk_guard to construct_nvme_bdev RPC.
In spdk_rpc_construct_nvme_bdev, create prchk_flags based on them
and pass it to spdk_bdev_nvme_create, and in spdk_bdev_nvme_create,
pass it to create_ctrlr.

A single option enable_prchk may be enough but add separate options
for reftag and guard to clarify that apptag is not supported yet.

The next patch will make per-controller PRCHK options configurable
by .INI config file.

Change-Id: I370ebbe984ee83d133b7f50bdc648ea746c8d42d
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/c/443833
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>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-02-12 09:14:31 +00:00
..
__init__.py lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
app.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
bdev.py bdev/nvme: Set per-controller PRCHK options by JSON RPC 2019-02-12 09:14:31 +00:00
client.py scripts/rpc: allow server address to be a relative path 2019-02-05 18:04:27 +00:00
ioat.py copy/ioat: Add scan_ioat_copy_engine RPC 2018-06-14 03:54:42 +00:00
iscsi.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
log.py log: remove "trace" from log flag RPCs 2018-12-03 19:50:15 +00:00
lvol.py lvol: add option to change default data erase method 2019-01-23 22:25:37 +00:00
nbd.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
net.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
nvme.py scripts/rpc.py: add method "get_nvme_controllers" 2018-10-25 17:26:25 +00:00
nvmf.py nvmf: Clarify wording of buf cache size parameter 2019-02-04 19:16:03 +00:00
pmem.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
subsystem.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
trace.py lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
vhost.py bdev/virtio: Remove deprecated remove_virtio_scsi_bdev rpc 2019-01-28 22:18:53 +00:00