aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r--src/vcl/vppcom.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index b397058052c..589d57c3872 100644
--- a/src/vcl/vppcom.c
+++ b/src/vcl/vppcom.c
@@ -3366,6 +3366,12 @@ vppcom_worker_register (void)
return VPPCOM_EEXIST;
}
+int
+vppcom_worker_index (void)
+{
+ return vcl_get_worker_index ();
+}
+
/*
* fd.io coding-style-patch-verification: ON
*