eal: register non-EAL threads as lcores
[dpdk.git] / lib / librte_eal / common / eal_memcfg.h
index 0e468bb..ea013a9 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef EAL_MEMCFG_H
 #define EAL_MEMCFG_H
 
-#include <rte_config.h>
-#include <rte_malloc_heap.h>
 #include <rte_memory.h>
 #include <rte_memzone.h>
 #include <rte_pause.h>
@@ -14,6 +12,8 @@
 #include <rte_rwlock.h>
 #include <rte_tailq.h>
 
+#include "malloc_heap.h"
+
 /**
  * Memory configuration shared across multiple processes.
  */
@@ -41,6 +41,8 @@ struct rte_mem_config {
        rte_rwlock_t memory_hotplug_lock;
        /**< Indicates whether memory hotplug request is in progress. */
 
+       uint8_t mp_status; /**< Multiprocess status. */
+
        /* memory segments and zones */
        struct rte_fbarray memzones; /**< Memzone descriptors. */