diff options
author | Florin Coras <fcoras@cisco.com> | 2018-11-28 22:13:45 -0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-11-29 08:43:16 +0000 |
commit | dfe4cf48ae344b882f0fd53d08b6917ef4391530 (patch) | |
tree | 4182aae3e95bd881340ab1de1267615548df6a44 /src/vcl/vppcom.c | |
parent | 8be6c40cf39f0d637a9dbfaa40ccec1d72bff34a (diff) |
ldp: basic multiworker support
Change-Id: Ia794fa7e15dac02c8607c4cee2f119ad9815c0a8
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r-- | src/vcl/vppcom.c | 6 |
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 * |