From 9e7a0b48fee601d03642931e2826a37bd92f6883 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Fri, 14 May 2021 14:50:01 +0200 Subject: vlib: pass node runtime to vlib_buffer_enqueue_to_thread() Mechanical change for patch following this one... Type: improvement Change-Id: Iee12f3a8851f35569e6c039494a94fc36e83d20f Signed-off-by: Damjan Marion --- src/vlib/buffer_node.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/vlib/buffer_node.h') diff --git a/src/vlib/buffer_node.h b/src/vlib/buffer_node.h index d2bd32f985a..9fece67f31f 100644 --- a/src/vlib/buffer_node.h +++ b/src/vlib/buffer_node.h @@ -355,13 +355,14 @@ vlib_buffer_enqueue_to_single_next (vlib_main_t * vm, } static_always_inline u32 -vlib_buffer_enqueue_to_thread (vlib_main_t * vm, u32 frame_queue_index, - u32 * buffer_indices, u16 * thread_indices, - u32 n_packets, int drop_on_congestion) +vlib_buffer_enqueue_to_thread (vlib_main_t *vm, vlib_node_runtime_t *node, + u32 frame_queue_index, u32 *buffer_indices, + u16 *thread_indices, u32 n_packets, + int drop_on_congestion) { vlib_buffer_enqueue_to_thread_fn_t *fn; fn = vlib_buffer_func_main.buffer_enqueue_to_thread_fn; - return (fn) (vm, frame_queue_index, buffer_indices, thread_indices, + return (fn) (vm, node, frame_queue_index, buffer_indices, thread_indices, n_packets, drop_on_congestion); } -- cgit 1.2.3-korg