]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_eal_memconfig.h
eal: set affinity for control threads
[dpdk.git] / lib / librte_eal / common / include / rte_eal_memconfig.h
index 7de906b60216a3f12a4a2b1cb93befe45b2b4b65..b9eee702effe6c5d877322642cff636624b62b91 100644 (file)
@@ -39,6 +39,7 @@
 #include <rte_memzone.h>
 #include <rte_malloc_heap.h>
 #include <rte_rwlock.h>
+#include <rte_pause.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -67,7 +68,7 @@ struct rte_mem_config {
        rte_rwlock_t qlock;   /**< used for tailq operation for thread safe. */
        rte_rwlock_t mplock;  /**< only used by mempool LIB for thread-safe. */
 
-       uint32_t memzone_idx; /**< Index of memzone */
+       uint32_t memzone_cnt; /**< Number of allocated memzones */
 
        /* memory segments and zones */
        struct rte_memseg memseg[RTE_MAX_MEMSEG];    /**< Physmem descriptors. */