diff options
author | Matias Elo <matias.elo@nokia.com> | 2018-04-27 13:54:44 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2018-04-30 13:25:32 +0300 |
commit | 0aadbcb71229bdd1c90db53e283555a70599a5bd (patch) | |
tree | 357a34b8bf06edcc889ae7991e787d69e1d002fb /platform/linux-dpdk/test | |
parent | 6aab1afe53f2f337d87c1ad6f713be29afa3531e (diff) |
linux-dpdk: make usage of ODP_PLATFORM_PARAMS optional
The number of memory channels is no longer a mandatory DPDK parameter,
so make use of ODP_PLATFORM_PARAMS optional.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'platform/linux-dpdk/test')
-rwxr-xr-x | platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh | 2 | ||||
-rwxr-xr-x | platform/linux-dpdk/test/wrapper-script.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh b/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh index 6007195e1..d051fa801 100755 --- a/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh +++ b/platform/linux-dpdk/test/validation/api/pktio/pktio_run.sh @@ -85,7 +85,7 @@ run() echo "Failed to setup test environment, skipping test." exit $TEST_SKIPPED fi - export ODP_PLATFORM_PARAMS="-n 4 --no-pci --vdev net_pcap0,iface=$IF0 --vdev net_pcap1,iface=$IF1" + export ODP_PLATFORM_PARAMS="--no-pci --vdev net_pcap0,iface=$IF0 --vdev net_pcap1,iface=$IF1" export ODP_PKTIO_IF0=0 export ODP_PKTIO_IF1=1 fi diff --git a/platform/linux-dpdk/test/wrapper-script.sh b/platform/linux-dpdk/test/wrapper-script.sh index b095b7621..b092e1064 100755 --- a/platform/linux-dpdk/test/wrapper-script.sh +++ b/platform/linux-dpdk/test/wrapper-script.sh @@ -1,6 +1,6 @@ #!/bin/bash -export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:--n 4 --vdev="crypto_openssl" --vdev="crypto_null"} +export ODP_PLATFORM_PARAMS=${ODP_PLATFORM_PARAMS:---vdev="crypto_openssl" --vdev="crypto_null"} # where to mount huge pages export HUGEPAGEDIR=${HUGEPAGEDIR:-/mnt/huge} # exit codes expected by automake for skipped tests |