numam-spdk/scripts
Michal Berger b9ba32aa63 scripts/setup: Check if VMD controllers are allowed to be used
Recent refactors removed the behavior introduced with a6edaa9600.
Bring it back and don't try to rebind the VMD devices if they were
not explicitliy allowed in the setup.

Also, shuffle the code a bit and put verification pieces under one
block where $mode is being determined.

Change-Id: Ie2cc41e402f20147b98ab288d623ac76a4472839
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4398
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-09-28 08:30:24 +00:00
..
bash-completion scripts/pkgdep: Add bash-completion for SPDK apps and tools 2020-08-24 07:37:21 +00:00
ceph check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
perf perf/nvmf: remove pylin no-member error 2020-08-28 07:30:36 +00:00
pkgdep pkgdep/rhel: Ignore subscription-manager failures 2020-09-25 11:29:05 +00:00
rpc lib/nvmf: Add nvmf_subsystem_listener_set_ana_state RPC 2020-09-16 07:55:28 +00:00
spdkcli lib/iscsi: Create portal group as public or private portal group 2020-08-11 08:27:43 +00:00
vagrant scripts/vagrant: Remove unused openstack stuff 2020-09-22 11:40:01 +00:00
check_format.sh scripts: Break check_format up into functions 2020-09-18 07:25:15 +00:00
common.sh scripts/common: Don't cache pci vendor,device ids separately 2020-09-02 14:43:02 +00:00
config_converter.py global: rename copy to accel 2020-02-18 08:05:34 +00:00
detect_cc.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
dpdk_mem_info.py scripts: add a parser for the dpdk memory stats. 2020-01-24 05:46:43 +00:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts/fio.py: add argparse for command line parameters 2019-06-03 04:34:10 +00:00
gdb_macros.py scripts: Use range instead of xrange 2019-02-13 22:54:15 +00:00
gen_ftl.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
gen_nvme.sh Script: update the JSON content generation 2020-08-24 07:37:53 +00:00
genconfig.py genconfig.py: allow numbers in config option names 2020-02-20 14:40:19 +00:00
histogram.py histograms: add script for parsing histogram data 2019-01-24 14:14:32 +00:00
iostat.py script: add iostat.py to check bdev iostat 2020-01-22 13:51:41 +00:00
pkgdep.sh scripts/pkgdep: Move distro independent parts to a common place 2020-08-10 11:28:20 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
qat_setup.sh check_format: Reformat the Bash code in compliance with shfmt 2020-05-07 20:52:21 +00:00
rpc_http_proxy.py scripts: Add SSL certificate option in rpc_http_proxy 2020-05-05 08:04:00 +00:00
rpc.py lib/nvmf: Add nvmf_subsystem_listener_set_ana_state RPC 2020-09-16 07:55:28 +00:00
rxe_cfg_small.sh rxe_cfg_small: Align the way how devices are added|removed 2020-08-27 08:36:17 +00:00
setup.sh scripts/setup: Check if VMD controllers are allowed to be used 2020-09-28 08:30:24 +00:00
spdkcli.py scripts/spdkcli: Stay on command input. 2020-07-08 07:55:15 +00:00
sync_dev_uevents.sh scripts: Add tool for keeping uevents in sync 2020-09-07 09:27:42 +00:00