Spdk/test/unit/lib
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
..
bdev lvol: remove lvol_task structure 2020-04-24 15:45:21 +00:00
blob ut/blob: disable compilation of UT for CUnit other than 2.1-3 2020-04-01 10:22:17 +00:00
blobfs lib/blobfs: remove spdk prefix from private APIs 2020-04-22 09:21:55 +00:00
event lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
ftl lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
idxd lib/idxd: add unit test for idxd_wq_config() 2020-04-23 15:48:32 +00:00
ioat ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
iscsi lib/iscsi: Remove the "spdk_" prefix from internal APIs declared in iscsi.h 2020-04-20 07:38:29 +00:00
json ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
jsonrpc ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
log log: spdk_log_dump more characters than required 2020-04-14 11:34:45 +00:00
lvol ut/lvol: simplify UT by using handy CUnit macros 2020-03-31 07:57:10 +00:00
notify ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00
nvmf lib/thread: Wait until thread_is_exited() is true by thread_poll() after thread_exit() 2020-04-08 06:43:05 +00:00
reduce ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
scsi lib/scsi: Remove spdk prefix from private functions 2020-04-16 08:09:14 +00:00
sock sock: Add spdk sock opts related three functions. 2020-04-24 15:53:34 +00:00
thread ut/thread: Test creating and destroying nested I/O channels 2020-04-09 13:44:14 +00:00
util ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
vhost unit: add vhost packed ring test 2020-04-15 03:55:59 +00:00
json_mock.c subsystem: add per module configuration dump 2018-03-23 02:47:40 -04:00
Makefile lib/idxd: add unit test framework and first unit test 2020-04-23 15:48:32 +00:00