]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_malloc_heap.h
malloc: index heaps using heap ID rather than NUMA node
[dpdk.git] / lib / librte_eal / common / include / rte_malloc_heap.h
index d43fa909725a494c43b0f57df49c45d8deb7a8a5..d432cef88d9fb4f35a7d4a1e555bd51edf7ea722 100644 (file)
@@ -26,6 +26,7 @@ struct malloc_heap {
        struct malloc_elem *volatile last;
 
        unsigned alloc_count;
+       unsigned int socket_id;
        size_t total_size;
 } __rte_cache_aligned;