diff options
author | Andrew Yourtchenko <ayourtch@gmail.com> | 2018-10-06 09:26:02 +0200 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-10-20 15:15:45 +0000 |
commit | c1f87942da3f6daeb4c30002929828e86035cee2 (patch) | |
tree | 677181dba699066b3c1f1d6e827ad9e43005fbbe /src/plugins/acl/acl.h | |
parent | 270055a41accbb421d9016eb972fcd4ea0343671 (diff) |
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 <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins/acl/acl.h')
-rw-r--r-- | src/plugins/acl/acl.h | 13 |
1 files changed, 0 insertions, 13 deletions
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; |