vcl: allow vcl worker index to be set by applications
[vpp.git] / src / vcl / vppcom.c
index 38b85be..6b690e5 100644 (file)
@@ -3830,6 +3830,12 @@ vppcom_worker_unregister (void)
   vcl_set_worker_index (~0);
 }
 
+void
+vppcom_worker_index_set (int index)
+{
+  vcl_set_worker_index (index);
+}
+
 int
 vppcom_worker_index (void)
 {