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_output.c
diff --git
a/src/vnet/devices/virtio/vhost_user_output.c
b/src/vnet/devices/virtio/vhost_user_output.c
index
f400f18
..
b415837
100644
(file)
--- a/
src/vnet/devices/virtio/vhost_user_output.c
+++ b/
src/vnet/devices/virtio/vhost_user_output.c
@@
-238,7
+238,7
@@
CLIB_MULTIARCH_FN (vhost_user_tx) (vlib_main_t * vm,
u32 qid = ~0;
vhost_user_vring_t *rxvq;
u8 error;
u32 qid = ~0;
vhost_user_vring_t *rxvq;
u8 error;
- u32 thread_index = v
lib_get_thread_index ()
;
+ u32 thread_index = v
m->thread_index
;
u32 map_hint = 0;
u8 retry = 8;
u16 copy_len;
u32 map_hint = 0;
u8 retry = 8;
u16 copy_len;