Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Change DEB_BUILD_OPTIONS nodocs to nodoc
[deb_dpdk.git]
/
scripts
/
test-null.sh
diff --git
a/scripts/test-null.sh
b/scripts/test-null.sh
index
ef6d800
..
30cd0b0
100755
(executable)
--- a/
scripts/test-null.sh
+++ b/
scripts/test-null.sh
@@
-36,11
+36,10
@@
build=${1:-build}
coremask=${2:-3} # default using cores 0 and 1
if grep -q SHARED_LIB=y $build/.config; then
coremask=${2:-3} # default using cores 0 and 1
if grep -q SHARED_LIB=y $build/.config; then
- export LD_LIBRARY_PATH=$build/lib:$LD_LIBRARY_PATH
pmd='-d librte_pmd_null.so'
fi
(sleep 1 && echo stop) |
$build/app/testpmd -c $coremask -n 1 --no-huge \
pmd='-d librte_pmd_null.so'
fi
(sleep 1 && echo stop) |
$build/app/testpmd -c $coremask -n 1 --no-huge \
- $pmd --vdev
eth_null1 --vdev eth
_null2 -- \
+ $pmd --vdev
net_null1 --vdev net
_null2 -- \
--total-num-mbufs=2048 -ia
--total-num-mbufs=2048 -ia