numam-spdk/scripts/rpc
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
..
__init__.py scripts/rpc: addd RPC support to enable idxd 2020-04-23 15:48:32 +00:00
accel.py lib/accel: add RPC to select which accel module should be used 2020-02-18 08:05:34 +00:00
app.py rpc: Add thread_get_io_channels RPC 2020-03-10 09:13:02 +00:00
bdev.py nvme: Add the priority field in struct spdk_nvme_transport_id 2020-04-24 15:53:34 +00:00
blobfs.py rpc/blobfs: add cache size setting rpc 2019-11-07 00:33:25 +00:00
client.py rpc/client.py: replace use process_time() instead of time() 2020-03-23 09:37:44 +00:00
env_dpdk.py env_dpdk/rpc: add rpc to get memory stats. 2019-12-13 11:05:57 +00:00
helpers.py rpc.py: add framework for detecting deprecated aliases 2019-05-09 04:37:08 +00:00
idxd.py scripts/rpc: addd RPC support to enable idxd 2020-04-23 15:48:32 +00:00
ioat.py global: rename copy to accel 2020-02-18 08:05:34 +00:00
iscsi.py rpc: Rename get_scsi_devices to scsi_get_devices 2019-10-03 23:01:27 +00:00
log.py RPC: rename get_log_flags to log_get_flags 2019-09-24 16:42:41 +00:00
lvol.py RPC: rename rpc construct_lvol_store to bdev_lvol_create_lvstore 2019-08-30 16:40:44 +00:00
nbd.py rpc: Rename get_nbd_disks to nbd_get_disks 2019-09-19 20:56:35 +00:00
net.py rpc: Rename get_interfaces to net_get_interfaces 2019-09-21 23:30:37 +00:00
notify.py RPC: rename get_notifications to notify_get_notifications 2019-09-24 16:42:41 +00:00
nvme.py bdev/opal: Add rpc for init, revert and get info 2019-10-24 17:09:57 +00:00
nvmf.py lib/nvmf: custom admin handler config 2020-01-20 09:56:35 +00:00
pmem.py rpc: Rename delete_pmem_pool to bdev_pmem_delete_pool 2019-09-05 07:04:17 +00:00
subsystem.py RPC: rename get_subsystem_config to framework_get_config 2019-10-01 13:57:36 +00:00
trace.py rpc: Rename get_tpoint_group_mask trace_get_tpoint_group_mask 2019-10-01 13:59:37 +00:00
vhost.py vhost: add packed ring support 2020-04-15 03:55:59 +00:00
vmd.py event/subsystem/vmd: RPC support 2019-07-26 18:27:40 +00:00