Spdk/scripts
tone.zhang e93d56b1ed setup.sh: Enable users select kernel driver for identified PCI deivces
The PCI devices used for SPDK are bound with vfio-pci or
uio_pci_generic kernel drivers. In setup.sh, if the path /sys/kernel
/iommu_groups is not empty, vfio-pci kernel driver is the only choice;
otherwise uio_pci_generic is selected.

In system, IOMMU can be enabled but set to pass through. It means
IOMMU will not affect the DMA transmission although IOMMU groups has
been configured. In this case both two kernel drivers are workable. The
script cannot deal with the case now.

The new option DRIVER_OVERRIDE is introduced in the patch and allow
user selects the kernel driver for PCI devices. With the patch the above
case can be handled correctly.

Change-Id: I540d8750bf837ce67b8bc8b516a1a3acb72c502c
Signed-off-by: tone.zhang <tone.zhang@arm.com>
Reviewed-on: https://review.gerrithub.io/427297
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2018-11-08 23:33:59 +00:00
..
ceph test/rbd: add configurable monitoring IP address for ceph 2018-04-17 13:55:44 -04:00
perf scripts/perf: fix nvme perf scripts 2018-10-11 20:46:18 +00:00
rpc nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
spdkcli test/spdkcli: Delete multiple subnodes from iscsi node 2018-11-07 17:24:08 +00:00
vagrant reduce: add configure option 2018-11-08 00:01:47 +00:00
check_format.sh check_format: use -P$(nproc) to speed up this script 2018-11-02 18:41:32 +00:00
common.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
config_converter.py nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
detect_cc.sh build: use conditional CC/CXX assignment for generated mk/cc.mk 2018-02-12 12:10:49 -05:00
eofnl scripts/check_format: check trailing whitespace 2017-10-24 17:35:23 -04:00
fio.py scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
gen_crypto.sh test/bdev: change crypto device conf based on environment 2018-10-24 23:29:28 +00:00
gen_nvme.sh test/vhost: load json configuration to vhost in spdk_vhost_run. 2018-05-30 00:53:12 +00:00
gen_rbd.sh test/bdev: add Ceph RBD bdev to bdev tests 2018-02-26 11:12:35 -05:00
genconfig.py configure: remove CONFIG.local symlink 2018-10-19 14:26:14 +00:00
pkgdep.sh pkgdep: Prefer make -C to cd 2018-10-17 15:16:15 +00:00
posix.txt build: Automatically detect use of POSIX includes 2017-05-08 13:20:37 -07:00
prep_benchmarks.sh scripts: Add reset option to prep_benchmarks.sh 2018-01-09 13:40:59 -05:00
qat_setup.sh scripts: add a qat card setup script 2018-10-22 22:33:13 +00:00
rpc_http_proxy.py scripts: Remote RPC access with authentication 2018-10-31 16:49:17 +00:00
rpc.py nvmf: remove tgt_opts from nvmf_tgt 2018-11-08 23:08:26 +00:00
setup.sh setup.sh: Enable users select kernel driver for identified PCI deivces 2018-11-08 23:33:59 +00:00
spdkcli.py scripts/spdkcli: override configshell init 2018-10-01 15:04:05 +00:00