Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
81c0585
)
vlib: alloc buffers on local numa, not on numa 1
83/15483/2
author
Damjan Marion
<damarion@cisco.com>
Tue, 23 Oct 2018 18:33:29 +0000
(20:33 +0200)
committer
Damjan Marion
<dmarion@me.com>
Tue, 23 Oct 2018 19:35:39 +0000
(19:35 +0000)
Change-Id: Icb8172238f735fd0825e474e16a006f1435e175c
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vlib/buffer.c
patch
|
blob
|
history
diff --git
a/src/vlib/buffer.c
b/src/vlib/buffer.c
index
502e74f
..
2f15e65
100644
(file)
--- 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;