diff options
author | Damjan Marion <damarion@cisco.com> | 2021-05-14 14:50:01 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-05-14 15:56:44 +0000 |
commit | 9e7a0b48fee601d03642931e2826a37bd92f6883 (patch) | |
tree | 374c35eb2b3ec43fa1341809c6b4120441331a4c /src/vnet/policer/police_inlines.h | |
parent | ca1bbbb9e8015dacb55247e3e00fba79d13ad4ca (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/vnet/policer/police_inlines.h')
-rw-r--r-- | src/vnet/policer/police_inlines.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/policer/police_inlines.h b/src/vnet/policer/police_inlines.h index 59afb562509..6b0c0ecf725 100644 --- a/src/vnet/policer/police_inlines.h +++ b/src/vnet/policer/police_inlines.h @@ -169,8 +169,8 @@ policer_handoff (vlib_main_t *vm, vlib_node_runtime_t *node, b++; } - n_enq = vlib_buffer_enqueue_to_thread (vm, fq_index, from, thread_indices, - frame->n_vectors, 1); + n_enq = vlib_buffer_enqueue_to_thread (vm, node, fq_index, from, + thread_indices, frame->n_vectors, 1); if (n_enq < frame->n_vectors) vlib_node_increment_counter (vm, node->node_index, |