aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer_node.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-05-14 14:50:01 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-05-14 15:56:44 +0000
commit9e7a0b48fee601d03642931e2826a37bd92f6883 (patch)
tree374c35eb2b3ec43fa1341809c6b4120441331a4c /src/vlib/buffer_node.h
parentca1bbbb9e8015dacb55247e3e00fba79d13ad4ca (diff)
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 <damarion@cisco.com>
Diffstat (limited to 'src/vlib/buffer_node.h')
-rw-r--r--src/vlib/buffer_node.h9
1 files changed, 5 insertions, 4 deletions
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);
}