aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/unittest/svm_fifo_test.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-02-28 21:51:24 +0000
committerFlorin Coras <fcoras@cisco.com>2020-02-29 01:35:29 +0000
commitc75ce4dfffe367874fcefda33ad7469015343be1 (patch)
treeef52542e228e5a7e9a214f8f2d168d355fa7ead3 /src/plugins/unittest/svm_fifo_test.c
parent952ec0e0a68ccf5a4c3c00894bb26a25d80910a3 (diff)
svm: fix slice locking on fifo alloc
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I1fef115ffc2277ad6e0673b49be137147808891c
Diffstat (limited to 'src/plugins/unittest/svm_fifo_test.c')
-rw-r--r--src/plugins/unittest/svm_fifo_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/unittest/svm_fifo_test.c b/src/plugins/unittest/svm_fifo_test.c
index 7221fb8345e..ba3cf4f0707 100644
--- a/src/plugins/unittest/svm_fifo_test.c
+++ b/src/plugins/unittest/svm_fifo_test.c
@@ -2632,7 +2632,8 @@ svm_fifo_test (vlib_main_t * vm, unformat_input_t * input,
int res = 0;
char *str;
- fifo_segment_main_init (&segment_main, HIGH_SEGMENT_BASEVA << 3, 5);
+ clib_warning ("high mem %lu", HIGH_SEGMENT_BASEVA << 4);
+ fifo_segment_main_init (&segment_main, HIGH_SEGMENT_BASEVA << 4, 5);
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)
{
if (unformat (input, "fifo1"))