ivshmem: library changes for mmaping using ivshmem
[dpdk.git] / lib / librte_eal / common / include / rte_memzone.h
index a4243e4..5e29ff1 100644 (file)
@@ -75,6 +75,9 @@ struct rte_memzone {
                void *addr;                   /**< Start virtual address. */
                uint64_t addr_64;             /**< Makes sure addr is always 64-bits */
        };
+#ifdef RTE_LIBRTE_IVSHMEM
+       phys_addr_t ioremap_addr;         /**< Real physical address inside the VM */
+#endif
        size_t len;                       /**< Length of the memzone. */
 
        size_t hugepage_sz;               /**< The page size of underlying memory */