numam-spdk/test
Ziye Yang 94345a0a1a nvme: Add the priority field in struct spdk_nvme_transport_id
Purpose: To set the priority of the NVMe-oF connection especially
for TCP connection.

For example, the previous example can be:

trtype:TCP adrfam:IPv4 traddr:10.67.110.181 trsvcid:4420

With the change, it could be:

trtype:TCP adrfam:IPv4 traddr:10.67.110.181 trsvcid:4420 priority:2

The priority is optional. We try to change
spdk_nvme_transport_id but not in spdk_nvme_ctrlr_opts since
the opts in spdk_nvme_ctrlr_opts will reflect in every nvme ctrlr,
this is short of flexibility.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Change-Id: I1ba364c714a95f2dbeab2b3fcc832b0222b48a15
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1875
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-04-24 15:53:34 +00:00
..
app lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in iscsi.h 2020-04-20 07:38:29 +00:00
bdev bdevperf: Release job resources on master thread 2020-04-17 07:40:47 +00:00
blobfs test/blobfs: rocksdb building error with gcc9 2020-04-06 07:48:25 +00:00
blobstore examples/blob: skip '\0' when dump xattr's value 2020-04-09 08:08:07 +00:00
common nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00
compress test/compress: enable multi-thread on single compress bdev 2020-03-31 07:56:28 +00:00
config_converter test/config_converter: Declare $rootdir, $testdir paths 2020-02-20 09:54:15 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +00:00
env lib/env_dpdk: remove spdk prefix from internal functions. 2020-04-22 09:21:55 +00:00
event lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
external_code test/autobuild: verify external code can link to libs 2020-04-15 22:10:08 +00:00
ftl test/ftl: Drop .ini config in favor of json 2020-04-10 07:08:43 +00:00
fuzz test: add autotest of fuzz_iscsi 2020-03-31 07:59:03 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt bdev/rbd: add ceph rbd resize function. 2020-04-23 07:28:10 +00:00
json_config test/json_config: Fix string notify_get_types is compared with 2020-04-22 09:23:02 +00:00
lvol test/lvol: [jq] replace -S with sort() 2020-04-23 07:28:37 +00:00
make lib/scsi: add map file 2020-04-24 07:06:52 +00:00
nvme nvme: do not allow the same nvme_io_msg_producer to register twice 2020-04-23 20:29:46 +00:00
nvmf test/nvmf: Drop .ini config in favor of json 2020-04-20 14:28:56 +00:00
ocf test/ocf: Don't depend on gen_nvme.sh while detecting nvme ctrls 2020-04-20 14:28:56 +00:00
openstack test/openstack: Change http to https for cirros server. 2020-04-15 07:37:25 +00:00
pmem script: update pmem test script 2020-02-12 12:07:30 +00:00
rpc scripts/rpc.py: add daemon mode 2020-03-11 11:35:03 +00:00
rpc_client lib/event: fix printing non-null-terminated strings 2020-04-06 07:48:37 +00:00
spdkcli test/spdkcli/tcp: use socat for listening for RPC on a TCP port 2020-04-06 07:48:43 +00:00
unit nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00
vhost test/vhost_perf: allow multiple fio config files 2020-04-21 08:00:24 +00:00
vmd fio: Remove hardcoded path to fio repo 2020-03-17 14:44:20 +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