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
/
vnet
/
dpo
/
interface_rx_dpo.c
diff --git
a/src/vnet/dpo/interface_rx_dpo.c
b/src/vnet/dpo/interface_rx_dpo.c
index
4e5b1a5
..
82767e7
100644
(file)
--- a/
src/vnet/dpo/interface_rx_dpo.c
+++ b/
src/vnet/dpo/interface_rx_dpo.c
@@
-239,7
+239,7
@@
interface_rx_dpo_inline (vlib_main_t * vm,
u8 is_l2)
{
u32 n_left_from, next_index, * from, * to_next;
- u32 thread_index = v
lib_get_thread_index ()
;
+ u32 thread_index = v
m->thread_index
;
vnet_interface_main_t *im;
im = &vnet_get_main ()->interface_main;