Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vcl: allow vcl worker index to be set by applications
[vpp.git]
/
src
/
vcl
/
vppcom.h
diff --git
a/src/vcl/vppcom.h
b/src/vcl/vppcom.h
index
d2a5a10
..
902e9ea
100644
(file)
--- a/
src/vcl/vppcom.h
+++ b/
src/vcl/vppcom.h
@@
-329,6
+329,11
@@
extern void vppcom_worker_unregister (void);
*/
extern int vppcom_worker_index (void);
+/**
+ * Set current worker index
+ */
+extern void vppcom_worker_index_set (int);
+
/**
* Returns the current worker's message queues epoll fd
*