git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
malloc: index heaps using heap ID rather than NUMA node
[dpdk.git]
/
lib
/
librte_eal
/
common
/
include
/
rte_malloc_heap.h
diff --git
a/lib/librte_eal/common/include/rte_malloc_heap.h
b/lib/librte_eal/common/include/rte_malloc_heap.h
index
d43fa90
..
d432cef
100644
(file)
--- a/
lib/librte_eal/common/include/rte_malloc_heap.h
+++ b/
lib/librte_eal/common/include/rte_malloc_heap.h
@@
-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;