acl-plugin: VPP-1088: add support for egress filter in macip ACLs 96/9896/11
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 18 Jan 2018 07:07:05 +0000 (08:07 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 8 Feb 2018 10:01:26 +0000 (10:01 +0000)
commitdb3c480e375bd7eb22c27887590c8dca07293719
tree625fe9459ee775845f2c30f5168ce66e50a4503a
parent1c6e5cf6905b2bd951982da9b712b13e2cb21295
acl-plugin: VPP-1088: add support for egress filter in macip ACLs

This is the second patch, using the new functionality from the change 10002
in order to implement the egress filtering on the MACIP ACLs.

This adds an action "2" which means "add also egress filtering rules for this
MACIP ACL.

The reason for having the two choices is that the egress filtering really takes
care of a fairly corner case scenario, and I am not convinced that
always adding the performance cost of the egress lookup check is worth it.

Also, of course, not breaking the existing implementations is a nice plus,
too.

Change-Id: I3d7883ed45b1cdf98d7303771bcc75951dff38f0
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/acl/acl.c
src/plugins/acl/acl.h