app/crypto-perf: fix IOVA translation
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 4 Apr 2018 14:40:44 +0000 (15:40 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 00:12:16 +0000 (02:12 +0200)
commit72b75134b89667baf4aaf4fcb516ab6bc2b1ebd7
tree1d4a056fdfac37f7c34ebc98db5975c70798b479
parent9c75ffc4e6a4a992712ecc92b6451291366ea519
app/crypto-perf: fix IOVA translation

IOVA addresses should be found by calling rte_virt2iova() as
opposed to rte_virt2phy(), as physical address may not be
equal to IOVA address.

Fixes: 2eb6a1a3e5fc ("app/crypto-perf: fix crypto op init")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
app/test-crypto-perf/cperf_test_common.c