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 --- docs/gettingstarted/developers/vlib.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/gettingstarted/developers/vlib.md b/docs/gettingstarted/developers/vlib.md index 59206e5ed4b..3a35978136c 100644 --- a/docs/gettingstarted/developers/vlib.md +++ b/docs/gettingstarted/developers/vlib.md @@ -668,7 +668,7 @@ a typical graph-node dispatch function: /* Enqueue buffers to threads */ n_enq = - vlib_buffer_enqueue_to_thread (vm, hmp->frame_queue_index, + vlib_buffer_enqueue_to_thread (vm, node, hmp->frame_queue_index, from, thread_indices, frame->n_vectors, 1 /* drop on congestion */); /* Typical counters, -- cgit 1.2.3-korg