2 # SPDX-License-Identifier: BSD-3-Clause
3 # Copyright 2015 6WIND S.A.
5 # Run a quick testpmd forwarding with null PMD without hugepage
8 coremask=${2:-3} # default using cores 0 and 1
10 if grep -q SHARED_LIB=y $build/.config; then
11 pmd='-d librte_pmd_null.so'
14 (sleep 1 && echo stop) |
15 $build/app/testpmd -c $coremask -n 1 --no-huge \
16 $pmd --vdev net_null1 --vdev net_null2 -- \
17 --total-num-mbufs=2048 -ia