Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
svm: fifo ooo reads/writes with multiple chunks
[vpp.git]
/
src
/
vppinfra
/
test_vhash.c
diff --git
a/src/vppinfra/test_vhash.c
b/src/vppinfra/test_vhash.c
index
7293fdd
..
594d46c
100644
(file)
--- a/
src/vppinfra/test_vhash.c
+++ b/
src/vppinfra/test_vhash.c
@@
-471,7
+471,7
@@
test_vhash_main (unformat_input_t * input)
vhash_t *vh = &tm->vhash;
uword i, j;
vhash_t *vh = &tm->vhash;
uword i, j;
- memset (tm, 0, sizeof (tm[0]));
+
clib_
memset (tm, 0, sizeof (tm[0]));
tm->n_iter = 100;
tm->seed = 1;
tm->n_keys = 1;
tm->n_iter = 100;
tm->seed = 1;
tm->n_keys = 1;
@@
-741,6
+741,8
@@
main (int argc, char *argv[])
unformat_input_t i;
int r;
unformat_input_t i;
int r;
+ clib_mem_init (0, 64ULL << 20);
+
unformat_init_command_line (&i, argv);
r = test_vhash_main (&i);
unformat_free (&i);
unformat_init_command_line (&i, argv);
r = test_vhash_main (&i);
unformat_free (&i);