eal/x86: fix pedantic build
[dpdk.git] / lib / librte_eal / common / include / rte_eal_memconfig.h
index 36c37b9..84aabe3 100644 (file)
@@ -75,6 +75,9 @@ struct rte_mem_config {
        /* Heaps of Malloc */
        struct malloc_heap malloc_heaps[RTE_MAX_HEAPS];
 
+       /* next socket ID for external malloc heap */
+       int next_socket_id;
+
        /* address of mem_config in primary process. used to map shared config into
         * exact same address the primary process maps it.
         */
@@ -83,6 +86,9 @@ struct rte_mem_config {
        /* legacy mem and single file segments options are shared */
        uint32_t legacy_mem;
        uint32_t single_file_segments;
+
+       /* keeps the more restricted dma mask */
+       uint8_t dma_maskbits;
 } __attribute__((__packed__));