malloc: index heaps using heap ID rather than NUMA node
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 2 Oct 2018 13:34:41 +0000 (14:34 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Oct 2018 08:37:39 +0000 (10:37 +0200)
commit72cf92b318558db98312e49b548aa93e237eded7
tree29c187596602900f8e33cc21c644006a4d0a161e
parent5282bb1c3695eb8f00d3bda3636c4da3332570ba
malloc: index heaps using heap ID rather than NUMA node

Switch over all parts of EAL to use heap ID instead of NUMA node
ID to identify heaps. Heap ID for DPDK-internal heaps is NUMA
node's index within the detected NUMA node list. Heap ID for
external heaps will be order of their creation.

This breaks the ABI, so document the changes.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
config/common_base
config/rte_config.h
doc/guides/rel_notes/release_18_11.rst
lib/librte_eal/common/include/rte_eal_memconfig.h
lib/librte_eal/common/include/rte_malloc_heap.h
lib/librte_eal/common/malloc_heap.c
lib/librte_eal/common/malloc_heap.h
lib/librte_eal/common/rte_malloc.c