]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_memzone.h
ivshmem: library changes for mmaping using ivshmem
[dpdk.git] / lib / librte_eal / common / include / rte_memzone.h
index a4243e4e90d9420a3ae347d7f1ecdd0a923ed02a..5e29ff1b15ea9add1dcfba9fbaac804c016075c8 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 */