Spdk/lib/nvmf
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
..
ctrlr_bdev.c nvmf: Move spdk_internal/nvmf.h to spdk/nvmf_cmd.h 2020-02-12 12:07:04 +00:00
ctrlr_discovery.c nvmf: remove redundant trid obj copy 2020-02-19 13:43:15 +00:00
ctrlr.c nvmf/ctrlr: fix completion for internal connect cmd 2020-04-20 14:30:56 +00:00
fc_ls.c lib/nvmf: get_transport now takes a string. 2020-01-16 09:10:38 +00:00
fc.c nvmf/fc: Add FC listen addresses to target listeners 2020-04-02 07:02:25 +00:00
Makefile lib: update so version for multiple libraries. 2020-03-18 08:02:30 +00:00
nvmf_fc.h thread: remove io_channel.h public header 2020-03-10 09:12:53 +00:00
nvmf_internal.h nvmf: Add a transport notification when listeners are associated with 2020-03-10 09:12:29 +00:00
nvmf_rpc.c lib/nvmf: fix unreachable code. 2020-04-22 09:21:04 +00:00
nvmf.c lib/nvmf: call ctrlr_fini after clearing qid from ctrlr bit array. 2020-04-20 07:40:31 +00:00
rdma.c nvmf/rdma: Send an rdma_disconnect in the fini call. 2020-04-20 07:40:31 +00:00
subsystem.c nvmf: Add a transport notification when listeners are associated with 2020-03-10 09:12:29 +00:00
tcp.c nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00
transport.c lib/nvmf: Free listener if executing listening failed. 2020-04-01 10:21:24 +00:00
transport.h nvmf: move transport stop listen into public interface 2020-02-19 13:43:15 +00:00