vfio: fix API description
[dpdk.git] / lib / librte_eal / include / rte_memzone.h
index f478fa9..5db1210 100644 (file)
@@ -51,11 +51,7 @@ struct rte_memzone {
 #define RTE_MEMZONE_NAMESIZE 32       /**< Maximum length of memory zone name.*/
        char name[RTE_MEMZONE_NAMESIZE];  /**< Name of the memory zone. */
 
-       RTE_STD_C11
-       union {
-               phys_addr_t phys_addr;        /**< deprecated - Start physical address. */
-               rte_iova_t iova;              /**< Start IO address. */
-       };
+       rte_iova_t iova;                  /**< Start IO address. */
        RTE_STD_C11
        union {
                void *addr;                   /**< Start virtual address. */
@@ -68,7 +64,7 @@ struct rte_memzone {
        int32_t socket_id;                /**< NUMA socket ID. */
 
        uint32_t flags;                   /**< Characteristics of this memzone. */
-} __attribute__((__packed__));
+} __rte_packed;
 
 /**
  * Reserve a portion of physical memory.