From f1cd92d8d9183dac3f70ceaf40efd8936da0a69a Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Thu, 25 Oct 2018 18:49:45 +0200 Subject: acl-plugin: performance optimizations for established connections Change-Id: Id5b7429ca7cce10ce8022c9b8a223bd02f6c3b5f Signed-off-by: Andrew Yourtchenko --- src/plugins/acl/fa_node.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/plugins/acl/fa_node.h') diff --git a/src/plugins/acl/fa_node.h b/src/plugins/acl/fa_node.h index 903ef874fb7..83a1984c22f 100644 --- a/src/plugins/acl/fa_node.h +++ b/src/plugins/acl/fa_node.h @@ -223,6 +223,15 @@ typedef struct { * Set to copy of a "generation" counter in main thread so we can sync the interrupts. */ int interrupt_generation; + /* + * work in progress data for the pipelined node operation + */ + vlib_buffer_t *bufs[VLIB_FRAME_SIZE]; + u32 sw_if_indices[VLIB_FRAME_SIZE]; + fa_5tuple_t fa_5tuples[VLIB_FRAME_SIZE]; + u64 hashes[VLIB_FRAME_SIZE]; + u16 nexts[VLIB_FRAME_SIZE]; + } acl_fa_per_worker_data_t; -- cgit 1.2.3-korg