mempool: rename address mapping function to IOVA
[dpdk.git] / test / test / test_mempool.c
index fa8bad3..37ead50 100644 (file)
@@ -146,7 +146,7 @@ test_mempool_basic(struct rte_mempool *mp, int use_external_cache)
 
 #ifndef RTE_EXEC_ENV_BSDAPP /* rte_mem_virt2iova() not supported on bsd */
        printf("get physical address of an object\n");
-       if (rte_mempool_virt2phy(mp, obj) != rte_mem_virt2iova(obj))
+       if (rte_mempool_virt2iova(obj) != rte_mem_virt2iova(obj))
                GOTO_ERR(ret, out);
 #endif