summaryrefslogtreecommitdiffstats
path: root/src/plugins/acl/fa_node.h
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2018-10-25 18:49:45 +0200
committerDamjan Marion <dmarion@me.com>2018-11-20 11:32:14 +0000
commitf1cd92d8d9183dac3f70ceaf40efd8936da0a69a (patch)
tree0fe0dcfbb9e38917c5f464af562419c40080ea19 /src/plugins/acl/fa_node.h
parent111add7e5d6581bb4eca05cc862a651ff6a09792 (diff)
acl-plugin: performance optimizations for established connections
Change-Id: Id5b7429ca7cce10ce8022c9b8a223bd02f6c3b5f Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/acl/fa_node.h')
-rw-r--r--src/plugins/acl/fa_node.h9
1 files changed, 9 insertions, 0 deletions
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;