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
/
virtio.h
diff --git
a/src/vnet/devices/virtio/virtio.h
b/src/vnet/devices/virtio/virtio.h
index
7ffb2ea
..
5fc5216
100644
(file)
--- a/
src/vnet/devices/virtio/virtio.h
+++ b/
src/vnet/devices/virtio/virtio.h
@@
-91,6
+91,8
@@
typedef struct
typedef struct
{
u32 flags;
typedef struct
{
u32 flags;
+ clib_spinlock_t lockp;
+
u32 id;
u32 dev_instance;
u32 hw_if_index;
u32 id;
u32 dev_instance;
u32 hw_if_index;