]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_eal_memconfig.h
eal/x86: fix pedantic build
[dpdk.git] / lib / librte_eal / common / include / rte_eal_memconfig.h
index 36c37b97582a6f975e7fcb796aa9212755239757..84aabe36c29fdae3b4bb33b3f8fab5fce0f8fbcb 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__));