Spdk/module/bdev/nvme
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_nvme_cuse_rpc.c lib/cuse: provide proper error codes up to RPC 2020-04-23 20:29:46 +00:00
bdev_nvme_rpc.c nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00
bdev_nvme.c bdev/nvme: add an assert for nvme_bdev_ctrlr when populating namespaces. 2020-04-24 07:07:43 +00:00
bdev_nvme.h bdev/nvme: Add 'delay_cmd_submit' to nvme bdev options 2019-12-10 17:32:10 +00:00
bdev_ocssd_rpc.c bdev/ocssd: fixed leaking range buffer 2019-12-23 08:43:34 +00:00
bdev_ocssd.c lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
bdev_ocssd.h bdev/ocssd: media management events 2019-12-20 10:02:15 +00:00
common.c lib/thread: Use function name as poller name by using macro SPDK_POLLER_REGISTER 2020-04-15 07:23:09 +00:00
common.h nvme/opal: remove the revert asynchronous API 2020-03-25 07:52:28 +00:00
Makefile test/make: fix the confirm_abi_deps test. 2020-04-15 22:10:08 +00:00
nvme_rpc.c nvme/rpc: fix memory leak when cmdbuf decode fails for bdev_nvme_send_cmd 2020-02-10 10:24:28 +00:00
vbdev_opal_rpc.c nvme/opal: remove the revert asynchronous API 2020-03-25 07:52:28 +00:00
vbdev_opal.c nvme/opal: use secure erase API again 2020-04-01 01:08:39 +00:00
vbdev_opal.h nvme/opal: remove the revert asynchronous API 2020-03-25 07:52:28 +00:00