acl: Introduce ACL trap action
authorJiri Pirko <jiri@mellanox.com>
Tue, 6 Jun 2017 12:12:06 +0000 (14:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 16:45:24 +0000 (12:45 -0400)
commitdf7eea963e4debe3b8286935c2fe9021c81ddbb6
treeda8adefcf7e541501d61c4066d258be21ed2f643
parent0db7b386f5e779085d5e20ad9d88b8a4b8767c02
acl: Introduce ACL trap action

Use trap/discard flex action to implement trap.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.h
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c