diff options
Diffstat (limited to 'src/vlib')
-rw-r--r-- | src/vlib/buffer_funcs.c | 5 | ||||
-rw-r--r-- | src/vlib/buffer_funcs.h | 5 | ||||
-rw-r--r-- | src/vlib/buffer_node.h | 9 |
3 files changed, 11 insertions, 8 deletions
diff --git a/src/vlib/buffer_funcs.c b/src/vlib/buffer_funcs.c index 9ed1bac16be..83ff296e705 100644 --- a/src/vlib/buffer_funcs.c +++ b/src/vlib/buffer_funcs.c @@ -163,8 +163,9 @@ CLIB_MARCH_FN_REGISTRATION (vlib_buffer_enqueue_to_single_next_fn); u32 __clib_section (".vlib_buffer_enqueue_to_thread_fn") CLIB_MULTIARCH_FN (vlib_buffer_enqueue_to_thread_fn) -(vlib_main_t *vm, u32 frame_queue_index, u32 *buffer_indices, - u16 *thread_indices, u32 n_packets, int drop_on_congestion) +(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_thread_main_t *tm = vlib_get_thread_main (); vlib_frame_queue_main_t *fqm; diff --git a/src/vlib/buffer_funcs.h b/src/vlib/buffer_funcs.h index d579e1bc2e1..8b8a3911776 100644 --- a/src/vlib/buffer_funcs.h +++ b/src/vlib/buffer_funcs.h @@ -60,8 +60,9 @@ typedef void (vlib_buffer_enqueue_to_single_next_fn_t) ( u32 count); typedef u32 (vlib_buffer_enqueue_to_thread_fn_t) ( - vlib_main_t *vm, u32 frame_queue_index, u32 *buffer_indices, - u16 *thread_indices, u32 n_packets, int drop_on_congestion); + 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); typedef u32 (vlib_frame_queue_dequeue_fn_t) (vlib_main_t *vm, vlib_frame_queue_main_t *fqm); 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); } |