Spdk/examples
Alexey Marchuk 885331fe16 perf: Ignore trtypes that were not requested by user
If perf is connecting to a subsystem with listeners
of different transport types (e.g. TCP and RDMA) and
the user request a specific trtype via CLI (e.g. TCP),
discovery process will call probe_cb for every transport
type. As result, probe_cb in perf will return `true`
and undesired controllers will be created and used in
IO path.

This patch adds a check for trtype and trstring to ignore
controllers that are not of a requested type.

Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com>
Change-Id: Id87afd03c7b38edfbbfecb5ad2239fe3e9ac9f83
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8465
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-07-05 14:45:11 +00:00
..
accel accel_perf: Fix the complier complaining. 2021-07-01 15:34:18 +00:00
bdev bdev/fio_plugin: spdk_fio_get_zoned_model() is too permissive 2021-06-15 08:34:36 +00:00
blob example/blob: fix a historical notes hello_blob.conf 2021-07-05 14:36:53 +00:00
interrupt_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
ioat build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvme perf: Ignore trtypes that were not requested by user 2021-07-05 14:45:11 +00:00
nvmf init: Declare a formal public API 2021-05-26 09:13:34 +00:00
sock event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
util Util: check the error case of NULL pointer 2021-06-08 08:26:12 +00:00
vmd env_dpdk: save hotplug timeout timestamps separate from rte_devargs 2021-04-23 08:16:24 +00:00
Makefile examples: add zipf example app 2021-05-19 07:50:28 +00:00