commit | 3e6cacaf51d79ac38acf2764275d022bd61d0ef6 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Mon Feb 24 08:35:51 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 24 11:55:07 2020 -0800 |
tree | 458f72e58fab70a28f36b406c6ec2b700ea299c4 | |
parent | 3128f3a150f6f0da69db6b7ca79b044c4260b579 [diff] |
mlxsw: acl_flex_actions: Trap all ACL dropped packets to DISCARD_*_ACL traps Introduce a new set of traps: DISCARD_INGRESS_ACL and DISCARD_EGRESS_ACL Set the trap_action from NOP to TRAP which causes the packets dropped by the TRAP action to be trapped under new trap IDs, depending on the ingress/egress binding point. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>