From c143928d8977f9d118078a0e6545d9058bbdbe52 Mon Sep 17 00:00:00 2001 From: Thomas Monjalon Date: Fri, 22 Nov 2019 14:38:28 +0100 Subject: [PATCH] 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 Tested-by: Ferruh Yigit Acked-by: David Marchand --- devtools/test-null.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/test-null.sh b/devtools/test-null.sh index 9f9a459f76..d82c6ad193 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 -- 2.20.1