X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Ftest-null.sh;h=6cd34f64f10a621e1a494869883360f1f97aaf1f;hb=9b4ea7ae77faa8f8aba8c7510c821f75d7863b16;hp=f39af2c064a8f2cf84c370c503e176194571a794;hpb=9e6b36c34ce928d13a5182e8e76580058366bf7c;p=dpdk.git diff --git a/devtools/test-null.sh b/devtools/test-null.sh index f39af2c064..6cd34f64f1 100755 --- a/devtools/test-null.sh +++ b/devtools/test-null.sh @@ -21,12 +21,13 @@ fi if ldd $testpmd | grep -q librte_ ; then export LD_LIBRARY_PATH=$build/lib:$LD_LIBRARY_PATH - libs='-d librte_mempool_ring.so -d librte_pmd_null.so' + libs="-d $build/drivers" else libs= fi (sleep 1 && echo stop) | -$testpmd -c $coremask --no-huge -m 20 \ - $libs -w 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \ +# testpmd only needs 20M, make it x2 (default number of cores) for NUMA systems +$testpmd -c $coremask --no-huge -m 40 \ + $libs -a 0:0.0 --vdev net_null1 --vdev net_null2 $eal_options -- \ --no-mlockall --total-num-mbufs=2048 $testpmd_options -ia