X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fvppcom.c;h=dcbbfc44a390815718edd5a931809a71d1ef78f0;hb=fe67afdd9386f09e07abfa2c1ba278f8bc549c32;hp=3d08d395a273609cba06da5a1dc7cb1289f022cf;hpb=aaff5eefb1dddf3ea71e3258b362d6516350303e;p=vpp.git diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index 3d08d395a27..dcbbfc44a39 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -3357,6 +3357,13 @@ vppcom_worker_register (void) return VPPCOM_OK; } +void +vppcom_worker_unregister (void) +{ + vcl_worker_cleanup (vcl_worker_get_current (), 1 /* notify vpp */ ); + vcl_set_worker_index (~0); +} + int vppcom_worker_index (void) {