aboutsummaryrefslogtreecommitdiffstats
path: root/app/test-crypto-perf/cperf_test_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/test-crypto-perf/cperf_test_common.c')
-rw-r--r--app/test-crypto-perf/cperf_test_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test-crypto-perf/cperf_test_common.c b/app/test-crypto-perf/cperf_test_common.c
index 328744ef..9b08b3f7 100644
--- a/app/test-crypto-perf/cperf_test_common.c
+++ b/app/test-crypto-perf/cperf_test_common.c
@@ -119,7 +119,7 @@ mempool_obj_init(struct rte_mempool *mp,
op->type = RTE_CRYPTO_OP_TYPE_SYMMETRIC;
op->status = RTE_CRYPTO_OP_STATUS_NOT_PROCESSED;
op->sess_type = RTE_CRYPTO_OP_WITH_SESSION;
- op->phys_addr = rte_mem_virt2phy(obj);
+ op->phys_addr = rte_mem_virt2iova(obj);
op->mempool = mp;
/* Set source buffer */