acl-plugin: move to per-frame buffer pointer calculations and enqueue to next nodes 58/12758/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Sat, 26 May 2018 18:43:00 +0000 (20:43 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Mon, 28 May 2018 12:04:23 +0000 (12:04 +0000)
commit1dc1b9c5314f5cdc3312475bcac233109c69c6d9
treeb51e1c2dfc69e5ceeeacefa61fa66c191059b608
parent5914f30d3f4f28e3e435efd7ece8cf935d5adead
acl-plugin: move to per-frame buffer pointer calculations and enqueue to next nodes

Use the new frame-at-once functions vlib_get_buffers() and vlib_buffer_enqueue_to_next()
to calculate the buffer pointers and to dispatch the packets after the processing.

This simplifies the dataplane node processing loop.

Change-Id: I454308f847aac76a199f8dd7490c1e176414bde7
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/dataplane_node.c