From e4ef7b3910036f5f381f14ecc2774ecef5557399 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Thu, 13 Jan 2022 17:55:00 +0000 Subject: [PATCH] setup.sh: fix incorrect help message Reported-by: Chris Demia on Slack Signed-off-by: Jim Harris Change-Id: Ib77cee03fbd9eaf600f2c0b74f5b6ceae9624600 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11108 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk Reviewed-by: Changpeng Liu Reviewed-by: Dong Yi Tested-by: SPDK CI Jenkins --- scripts/setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/setup.sh b/scripts/setup.sh index c044eb685..2fd520ac4 100755 --- a/scripts/setup.sh +++ b/scripts/setup.sh @@ -63,8 +63,9 @@ function usage() { echo "PCI_BLOCKED Whitespace separated list of PCI devices (NVMe, I/OAT, VMD, Virtio)." echo " Each device must be specified as a full PCI address." echo " E.g. PCI_ALLOWED=\"0000:01:00.0 0000:02:00.0\"" - echo " To block all PCI devices use a non-valid address." - echo " E.g. PCI_BLOCKED=\"none\"" + echo " To block all PCI devices: PCI_ALLOWED=\"none\"" + echo " To allow all PCI devices except 0000:01:00.0: PCI_BLOCKED=\"0000:01:00.0\"" + echo " To allow only PCI device 0000:01:00.0: PCI_ALLOWED=\"0000:01:00.0\"" echo " If PCI_ALLOWED and PCI_BLOCKED are empty or unset, all PCI devices" echo " will be bound." echo " Each device in PCI_BLOCKED will be ignored (driver won't be changed)."