Spdk/scripts
Pawel Wodkowski 768cc8ee2e setup.sh: enhance output from setup, reset and status
Unify output of setup driver binding. Each line will print PCI BDF,
vendor and device id.

  $export PCI_BLACKLIST="0000:00:04.0 0000:00:04.1"
  $./scripts/setup.sh
  0000:0b:00.0 (8086 0953): nvme -> vfio-pci
  0000:00:04.1 (8086 0e20): Skipping un-whitelisted I/OAT device
  ...
  0000:00:04.1 (8086 0e21): Skipping un-whitelisted I/OAT device
  ...

Print log when desired driver is already bound:

  $./scripts/setup.sh
  0000:0b:00.0 (8086 0953): Already using the vfio-pci driver
  ...

'status' command prints vendor and device:

  ./scripts/setup.sh status
  ...
  NVMe devices
  BDF		Vendor	Device	NUMA	Driver		Device name
  0000:0b:00.0	8086	0953	0	vfio-pci		-

  I/OAT DMA
  BDF		Vendor	Device	NUMA	Driver
  0000:00:04.0	8086	0e20	0	ioatdma
  0000:80:04.0	8086	0e20	1	vfio-pci
  0000:00:04.1	8086	0e21	0	ioatdma
  0000:80:04.1	8086	0e21	1	vfio-pci
  0000:00:04.2	8086	0e22	0	vfio-pci
  0000:80:04.2	8086	0e22	1	vfio-pci
  ...

As we are here replace legacy Bash subshell invocation ` ` with $( ) in
some places.

Change-Id: I76b533c7580dadeb3d592c084778b8f9869c6d17
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/443218
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-02-05 18:03:30 +00:00
..
ceph test/rbd: add configurable monitoring IP address for ceph 2018-04-17 13:55:44 -04:00
perf test/vhost: vhost benchmark scripts update 2019-01-29 20:23:50 +00:00
rpc nvmf: Clarify wording of buf cache size parameter 2019-02-04 19:16:03 +00:00
spdkcli spdkcli: Fix: find nvme ctrlr first when delete nvme 2019-01-30 10:38:47 +00:00
vagrant autotest: introduce SPDK_RUN_FUNCTIONAL_TEST 2019-02-04 19:19:36 +00:00
check_format.sh check_format: Ban atoi, atol, and atoll 2019-01-29 17:39:18 +00:00
common.sh scripts: factor out iter_pci helper functions 2018-01-03 14:09:22 -05:00
config_converter.py config_converter: fix incorrect indentation 2019-01-30 08:44:20 +00:00
detect_cc.sh build: use linker specified by the LD env variable 2019-01-07 19:49:11 +00: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_ftl.sh bdev_ftl: Added FTL bdev functional tests 2019-01-29 17:33:10 +00:00
gen_nvme.sh scripts/gen_nvme: don't use disks with nvme driver 2019-01-09 20:59:13 +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
histogram.py histograms: add script for parsing histogram data 2019-01-24 14:14:32 +00:00
pkgdep.sh spdk: Add ISA-L support with related crc32 function 2019-01-29 08:31:00 +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 test: adjust scripts for 01.org qat driver 2018-11-15 20:08:16 +00:00
rpc_http_proxy.py scripts: Remote RPC access with authentication 2018-10-31 16:49:17 +00:00
rpc.py nvmf: Clarify wording of buf cache size parameter 2019-02-04 19:16:03 +00:00
setup.sh setup.sh: enhance output from setup, reset and status 2019-02-05 18:03:30 +00:00
spdkcli.py spdkcli: Fix: catch exceptions for spdkcli commands. 2019-01-30 10:32:53 +00:00