diff --git a/test/env/memory/memory_ut.c b/test/env/memory/memory_ut.c index bdf6a76bf..ce7f96715 100644 --- a/test/env/memory/memory_ut.c +++ b/test/env/memory/memory_ut.c @@ -51,6 +51,7 @@ DEFINE_STUB(spdk_env_dpdk_external_init, bool, (void), true); DEFINE_STUB(rte_mem_event_callback_register, int, (const char *name, rte_mem_event_callback_t clb, void *arg), 0); DEFINE_STUB(rte_mem_virt2iova, rte_iova_t, (const void *virtaddr), 0); +DEFINE_STUB(rte_eal_iova_mode, enum rte_iova_mode, (void), RTE_IOVA_VA); static int test_mem_map_notify(void *cb_ctx, struct spdk_mem_map *map,