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: minimal initial fifo
[vpp.git]
/
src
/
vppinfra
/
mhash.h
diff --git
a/src/vppinfra/mhash.h
b/src/vppinfra/mhash.h
index
102adf4
..
7eb1918
100644
(file)
--- a/
src/vppinfra/mhash.h
+++ b/
src/vppinfra/mhash.h
@@
-93,7
+93,7
@@
mhash_key_to_mem (mhash_t * h, uword key)
{
u8 *key_tmp;
- int my_cpu = os_get_
cpu_number
();
+ int my_cpu = os_get_
thread_index
();
vec_validate (h->key_tmps, my_cpu);
key_tmp = h->key_tmps[my_cpu];
return key_tmp;