Merge pull request #673 from mythi/PR-2021-039

demo: crypto-perf: update test tool parameters
This commit is contained in:
Dmitry Rozhkov 2021-08-05 18:49:27 +03:00 committed by GitHub
commit 0288f24b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,13 +10,10 @@ fi
PCI_ALLOWLIST=""
for i in `echo ${!QAT*}`; do PCI_ALLOWLIST="$PCI_ALLOWLIST -w ${!i}"; done
for i in `echo ${!QAT*}`; do PCI_ALLOWLIST="$PCI_ALLOWLIST -a ${!i}"; done
# "The default mempool handler is ring based."
MEMPOOL=$(ls /usr/lib64/librte_mempool_ring.so*|tail -1)
PMD_QAT=$(ls /usr/lib64/librte_pmd_qat.so*|tail -1)
LCORE=$(cat /sys/fs/cgroup/cpuset/cpuset.cpus)
EAL="-l ${LCORE} ${PCI_ALLOWLIST} -d ${MEMPOOL} -d ${PMD_QAT}"
EAL="-l ${LCORE} ${PCI_ALLOWLIST}"
dpdk-test-${TESTCMD}-perf ${EAL} -- ${PTEST} \