summaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer_funcs.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_funcs.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_funcs.h')
-rw-r--r--src/vlib/buffer_funcs.h5
1 files changed, 3 insertions, 2 deletions
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);