ldp: basic multiworker support
[vpp.git] / src / vcl / vppcom.h
index 5085e95..0c0b7ce 100644 (file)
@@ -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
 }