From c1f87942da3f6daeb4c30002929828e86035cee2 Mon Sep 17 00:00:00 2001 From: Andrew Yourtchenko Date: Sat, 6 Oct 2018 09:26:02 +0200 Subject: acl-plugin: use the L2 feature arc infrastructure instead of L2 classifier for plumbing This makes ACL plugin use the new feature arcs, which slightly increases performance. Since for ethertype whitelisting we were using the L2 classifier, to retain the functionality, make a simple node doing that, and plug it into non-ip L2 feature arc whenever needed. Change-Id: I3add377a6c790117dd3fd056e5615cb4c4438cf4 Signed-off-by: Andrew Yourtchenko --- src/plugins/acl/acl.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/plugins/acl/acl.h') diff --git a/src/plugins/acl/acl.h b/src/plugins/acl/acl.h index c17946a9719..1d1ee442304 100644 --- a/src/plugins/acl/acl.h +++ b/src/plugins/acl/acl.h @@ -251,19 +251,6 @@ typedef struct { /* how many sessions went into purgatory */ u64 fa_session_total_deactivations; - /* L2 datapath glue */ - - /* next indices within L2 classifiers for ip4/ip6 fa L2 nodes */ - u32 l2_input_classify_next_acl_ip4; - u32 l2_input_classify_next_acl_ip6; - u32 l2_output_classify_next_acl_ip4; - u32 l2_output_classify_next_acl_ip6; - /* next node indices for L2 dispatch */ - u32 fa_acl_in_ip4_l2_node_feat_next_node_index[32]; - u32 fa_acl_in_ip6_l2_node_feat_next_node_index[32]; - u32 fa_acl_out_ip4_l2_node_feat_next_node_index[32]; - u32 fa_acl_out_ip6_l2_node_feat_next_node_index[32]; - /* EH values that we can skip over */ uword *fa_ipv6_known_eh_bitmap; -- cgit 1.2.3-korg