Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vpp_lite: add cpu pinning support (VPP-467)
[vpp.git]
/
vlib
/
vlib
/
threads.h
diff --git
a/vlib/vlib/threads.h
b/vlib/vlib/threads.h
index
589d1f3
..
e65794c
100644
(file)
--- a/
vlib/vlib/threads.h
+++ b/
vlib/vlib/threads.h
@@
-105,7
+105,8
@@
typedef struct
u64 barrier_sync_count;
long lwp;
- int dpdk_lcore_id;
+ int lcore_id;
+ pthread_t thread_id;
} vlib_worker_thread_t;
vlib_worker_thread_t *vlib_worker_threads;