summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
da6520b)
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
}
/* Enqueue buffers to threads */
}
/* 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,
if (n_enq < frame->n_vectors)
vlib_node_increment_counter (vm, node->node_index,
HANDOFFDEMO_ERROR_CONGESTION_DROP,