summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-11-22 14:38:28 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-11-24 23:52:02 +0100
commitc143928d8977f9d118078a0e6545d9058bbdbe52 (patch)
treef880cd86a9db116102572399cda7b5b053569974
parente5d0ba08703099c12e4bb2eac650cbb047df1a13 (diff)
downloaddpdk-next-net-intel-c143928d8977f9d118078a0e6545d9058bbdbe52.zip
dpdk-next-net-intel-c143928d8977f9d118078a0e6545d9058bbdbe52.tar.gz
dpdk-next-net-intel-c143928d8977f9d118078a0e6545d9058bbdbe52.tar.xz
devtools: disable automatic probing in null testing
The script test-null.sh is supposed to do a quick and simple run of testpmd with null PMD only, for sanity check. As it is not supposed to test probing of any other PMD, physical device probing is switched to whitelist mode by using a fake PCI address (0:0.0). It will also help to keep memory usage stable across platforms. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Tested-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: David Marchand <david.marchand@redhat.com>
-rwxr-xr-xdevtools/test-null.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/test-null.sh b/devtools/test-null.sh
index 9f9a459..d82c6ad 100755
--- a/devtools/test-null.sh
+++ b/devtools/test-null.sh
@@ -26,5 +26,5 @@ fi
(sleep 1 && echo stop) |
$testpmd -c $coremask --no-huge -m 150 \
- $libs --vdev net_null1 --vdev net_null2 $eal_options -- \
+ $libs -w 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \
--no-mlockall --total-num-mbufs=2048 $testpmd_options -ia