Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
da6520b
)
misc: fix build error in handoffdemo
26/33626/3
author
Sivaprasad Tummala
<Sivaprasad.Tummala@intel.com>
Tue, 31 Aug 2021 06:53:23 +0000
(12:23 +0530)
committer
Damjan Marion
<dmarion@me.com>
Tue, 31 Aug 2021 15:25:46 +0000
(15:25 +0000)
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
src/examples/handoffdemo/node.c
patch
|
blob
|
history
diff --git
a/src/examples/handoffdemo/node.c
b/src/examples/handoffdemo/node.c
index
2177ccb
..
ce15f70
100644
(file)
--- 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,