aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples/handoffdemo/node.c
diff options
context:
space:
mode:
authorSivaprasad Tummala <Sivaprasad.Tummala@intel.com>2021-08-31 12:23:23 +0530
committerDamjan Marion <dmarion@me.com>2021-08-31 15:25:46 +0000
commit7311f1863a4eb7d723c557277df90e33c451b20d (patch)
tree9d992682f97e10ec6ba440fc8c55177192fb93ce /src/examples/handoffdemo/node.c
parentda6520b4ed7ddd35a7c52403a2df1c9fac3c24ca (diff)
misc: fix build error in handoffdemo
fix to pass right arguments to vlib_buffer_enqueue_to_thread Type: fix Signed-off-by: Sivaprasad Tummala <Sivaprasad.Tummala@intel.com> Change-Id: I2521ac8d33135843263e8f99318988ec78effbaa
Diffstat (limited to 'src/examples/handoffdemo/node.c')
-rw-r--r--src/examples/handoffdemo/node.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/examples/handoffdemo/node.c b/src/examples/handoffdemo/node.c
index 2177ccb9d14..ce15f70634c 100644
--- a/src/examples/handoffdemo/node.c
+++ b/src/examples/handoffdemo/node.c
@@ -107,10 +107,9 @@ handoffdemo_inline (vlib_main_t * vm,
}
/* Enqueue buffers to threads */
- n_enq =
- vlib_buffer_enqueue_to_thread (vm, hmp->frame_queue_index,
- from, thread_indices, frame->n_vectors,
- 1 /* drop on congestion */ );
+ n_enq = vlib_buffer_enqueue_to_thread (
+ vm, node, hmp->frame_queue_index, from, thread_indices,
+ frame->n_vectors, 1 /* drop on congestion */);
if (n_enq < frame->n_vectors)
vlib_node_increment_counter (vm, node->node_index,
HANDOFFDEMO_ERROR_CONGESTION_DROP,