Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
gtpu: offload RX flow
[vpp.git]
/
src
/
vppinfra
/
test_qhash.c
diff --git
a/src/vppinfra/test_qhash.c
b/src/vppinfra/test_qhash.c
index
fdbf0bb
..
a520fa4
100644
(file)
--- a/
src/vppinfra/test_qhash.c
+++ b/
src/vppinfra/test_qhash.c
@@
-54,7
+54,7
@@
test_qhash_main (unformat_input_t * input)
test_qhash_main_t _tm, *tm = &_tm;
uword i, iter;
test_qhash_main_t _tm, *tm = &_tm;
uword i, iter;
- memset (tm, 0, sizeof (tm[0]));
+
clib_
memset (tm, 0, sizeof (tm[0]));
tm->n_iter = 10;
tm->seed = 1;
tm->n_keys = 10;
tm->n_iter = 10;
tm->seed = 1;
tm->n_keys = 10;
@@
-311,6
+311,8
@@
main (int argc, char *argv[])
unformat_input_t i;
clib_error_t *error;
unformat_input_t i;
clib_error_t *error;
+ clib_mem_init (0, 64ULL << 20);
+
unformat_init_command_line (&i, argv);
error = test_qhash_main (&i);
unformat_free (&i);
unformat_init_command_line (&i, argv);
error = test_qhash_main (&i);
unformat_free (&i);