aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlib/buffer.c')
-rw-r--r--src/vlib/buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vlib/buffer.c b/src/vlib/buffer.c
index 502e74fd291..2f15e6530da 100644
--- a/src/vlib/buffer.c
+++ b/src/vlib/buffer.c
@@ -982,7 +982,8 @@ vlib_buffer_main_init (struct vlib_main_t * vm)
clib_spinlock_init (&bm->buffer_known_hash_lockp);
if ((error = vlib_physmem_shared_map_create (vm, "buffers",
- vlib_buffer_physmem_sz, 1,
+ vlib_buffer_physmem_sz,
+ CLIB_PMALLOC_NUMA_LOCAL,
&physmem_map_index)))
return error;