]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_cryptodev/rte_cryptodev.c
mem: rename address mapping function to IOVA
[dpdk.git] / lib / librte_cryptodev / rte_cryptodev.c
index 80632117e088a0d9bd8b7c1b9fb068d2f06ac0b5..e5f287634a97cfd561a61198fcb9a365d6eec5f8 100644 (file)
@@ -1284,7 +1284,7 @@ rte_crypto_op_init(struct rte_mempool *mempool,
 
        __rte_crypto_op_reset(op, type);
 
-       op->phys_addr = rte_mem_virt2phy(_op_data);
+       op->phys_addr = rte_mem_virt2iova(_op_data);
        op->mempool = mempool;
 }