New upstream version 17.11-rc3
[deb_dpdk.git] / lib / librte_eal / common / include / rte_memzone.h
index 1d0827f..6f0ba18 100644 (file)
@@ -78,7 +78,11 @@ struct rte_memzone {
 #define RTE_MEMZONE_NAMESIZE 32       /**< Maximum length of memory zone name.*/
        char name[RTE_MEMZONE_NAMESIZE];  /**< Name of the memory zone. */
 
-       phys_addr_t phys_addr;            /**< Start physical address. */
+       RTE_STD_C11
+       union {
+               phys_addr_t phys_addr;        /**< deprecated - Start physical address. */
+               rte_iova_t iova;              /**< Start IO address. */
+       };
        RTE_STD_C11
        union {
                void *addr;                   /**< Start virtual address. */