summaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/vppcom.h')
-rw-r--r--src/vcl/vppcom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h
index d2a5a103f8d..902e9ea5d47 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -330,6 +330,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
*
* This only works if vcl is configured to do eventfd based message queue