aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/physmem.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-01-07 20:56:04 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-01-07 21:57:17 +0000
commitd2bfb78f4f8fbfae204424467a4106530b89e608 (patch)
treeef7f5c75f313c973eed5b441646d6898c717198a /src/vlib/physmem.c
parent7c03ed47d5acfa39820f9553999caa01cf47dba4 (diff)
avf: allocate descriptor memory from local numa
Change-Id: Ic56ee4ce83b282a5f0f5aed500721fe639b941b3 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/physmem.c')
-rwxr-xr-xsrc/vlib/physmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/physmem.c b/src/vlib/physmem.c
index 37bf693f182..21fe44fc1ca 100755
--- a/src/vlib/physmem.c
+++ b/src/vlib/physmem.c
@@ -57,6 +57,7 @@ vlib_physmem_shared_map_create (vlib_main_t * vm, char *name, uword size,
map->fd = a->fd;
map->n_pages = a->n_pages * a->subpages_per_page;
map->log2_page_size = a->log2_subpage_sz;
+ map->numa_node = a->numa_node;
for (i = 0; i < a->n_pages; i++)
{