Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
avoid using thread local storage for thread index
[vpp.git]
/
src
/
plugins
/
srv6-am
/
node.c
diff --git
a/src/plugins/srv6-am/node.c
b/src/plugins/srv6-am/node.c
index
8643aa4
..
84014c5
100644
(file)
--- a/
src/plugins/srv6-am/node.c
+++ b/
src/plugins/srv6-am/node.c
@@
-148,7
+148,7
@@
srv6_am_localsid_fn (vlib_main_t * vm,
n_left_from = frame->n_vectors;
next_index = node->cached_next_index;
n_left_from = frame->n_vectors;
next_index = node->cached_next_index;
- u32 thread_index = v
lib_get_thread_index ()
;
+ u32 thread_index = v
m->thread_index
;
while (n_left_from > 0)
{
while (n_left_from > 0)
{