]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_memory.h
ivshmem: library changes for mmaping using ivshmem
[dpdk.git] / lib / librte_eal / common / include / rte_memory.h
index d2c62658b77eb76100fa7e93b4842e2e7ec5b0a6..4611dcd722d6b8b192b5f0f3f0884cd9e7e5d366 100644 (file)
@@ -79,6 +79,9 @@ struct rte_memseg {
                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 segment. */
        size_t hugepage_sz;       /**< The pagesize of underlying memory */
        int32_t socket_id;          /**< NUMA socket ID. */