diff options
author | Damjan Marion <damarion@cisco.com> | 2017-03-09 15:42:26 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2017-03-10 19:35:09 +0000 |
commit | e9d52d54361296af520e1ece0c25307a2d86c018 (patch) | |
tree | e98fce293437707ae6cd7d4b8c13bb2ddc503fd7 /src/vlib/threads.h | |
parent | d79b41e993981df80245b0e6d90eb691bdaae648 (diff) |
vlib: deduplicatee code in main and worker main loop
Change-Id: Id18d59c9442602633a6310b2001a95bce8b6b232
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/threads.h')
-rw-r--r-- | src/vlib/threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/threads.h b/src/vlib/threads.h index a032311c689..fc1633f610e 100644 --- a/src/vlib/threads.h +++ b/src/vlib/threads.h @@ -159,8 +159,8 @@ int vlib_frame_queue_enqueue (vlib_main_t * vm, u32 node_runtime_index, u32 frame_queue_index, vlib_frame_t * frame, vlib_frame_queue_msg_type_t type); -int vlib_frame_queue_dequeue (int thread_id, - vlib_main_t * vm, vlib_node_main_t * nm); +int +vlib_frame_queue_dequeue (vlib_main_t * vm, vlib_frame_queue_main_t * fqm); u64 dispatch_node (vlib_main_t * vm, vlib_node_runtime_t * node, |