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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h
index 4db3d980099..053abc97781 100644
--- a/src/vcl/vppcom.h
+++ b/src/vcl/vppcom.h
@@ -308,6 +308,14 @@ extern int vppcom_worker_register (void);
*/
extern int vppcom_worker_index (void);
+/**
+ * Returns the current worker's message queues epoll fd
+ *
+ * This only works if vcl is configured to do eventfd based message queue
+ * notifications.
+ */
+extern int vppcom_worker_mqs_epfd (void);
+
/* *INDENT-OFF* */
#ifdef __cplusplus
}