X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvppcom.h;h=0c0b7ce45fd1b074c254066b54db66ae10a44aad;hb=dfe4cf48ae344b882f0fd53d08b6917ef4391530;hp=5085e950af46f15cbfd17a8f22b3419cc9dae1fe;hpb=8be6c40cf39f0d637a9dbfaa40ccec1d72bff34a;p=vpp.git diff --git a/src/vcl/vppcom.h b/src/vcl/vppcom.h index 5085e950af4..0c0b7ce45fd 100644 --- a/src/vcl/vppcom.h +++ b/src/vcl/vppcom.h @@ -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 }