acl-plugin: use the L2 feature arc infrastructure instead of L2 classifier for plumbing 65/15165/9
authorAndrew Yourtchenko <ayourtch@gmail.com>
Sat, 6 Oct 2018 07:26:02 +0000 (09:26 +0200)
committerJohn Lo <loj@cisco.com>
Sat, 20 Oct 2018 15:15:45 +0000 (15:15 +0000)
commitc1f87942da3f6daeb4c30002929828e86035cee2
tree677181dba699066b3c1f1d6e827ad9e43005fbbe
parent270055a41accbb421d9016eb972fcd4ea0343671
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>
src/plugins/acl/acl.c
src/plugins/acl/acl.h
src/plugins/acl/dataplane_node.c
test/test_acl_plugin.py