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
/
devices
/
virtio
/
vhost_user_input.c
diff --git
a/src/vnet/devices/virtio/vhost_user_input.c
b/src/vnet/devices/virtio/vhost_user_input.c
index
3db4473
..
3f2b402
100644
(file)
--- a/
src/vnet/devices/virtio/vhost_user_input.c
+++ b/
src/vnet/devices/virtio/vhost_user_input.c
@@
-256,7
+256,7
@@
vhost_user_if_input (vlib_main_t * vm,
u32 next_index = VNET_DEVICE_INPUT_NEXT_ETHERNET_INPUT;
u32 n_trace = vlib_get_trace_count (vm, node);
u32 map_hint = 0;
- u16 thread_index = v
lib_get_thread_index ()
;
+ u16 thread_index = v
m->thread_index
;
u16 copy_len = 0;
{