Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ldp: basic multiworker support
[vpp.git]
/
src
/
vcl
/
vppcom.h
diff --git
a/src/vcl/vppcom.h
b/src/vcl/vppcom.h
index
5085e95
..
0c0b7ce
100644
(file)
--- a/
src/vcl/vppcom.h
+++ b/
src/vcl/vppcom.h
@@
-279,6
+279,11
@@
extern int vppcom_data_segment_copy (void *buf, vppcom_data_segments_t ds,
*/
extern int vppcom_worker_register (void);
+/**
+ * Retrieve current worker index
+ */
+extern int vppcom_worker_index (void);
+
/* *INDENT-OFF* */
#ifdef __cplusplus
}