malloc: add function to query socket ID of named heap
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 2 Oct 2018 13:34:47 +0000 (14:34 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 11 Oct 2018 09:11:25 +0000 (11:11 +0200)
commite1fe3c2fab0949abc2509a7486b5c44998ba6540
tree4fea891dec5c7c71377173c7d629296f3aa35ea5
parentd14c148e79f03586569458eb489c2c6d2c446cd9
malloc: add function to query socket ID of named heap

When we will be creating external heaps, they will have their own
"fake" socket ID, so add a function that will map the heap name
to its socket ID.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/include/rte_malloc.h
lib/librte_eal/common/rte_malloc.c
lib/librte_eal/rte_eal_version.map