diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-06-06 14:12:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-06 12:45:24 -0400 |
commit | df7eea963e4debe3b8286935c2fe9021c81ddbb6 (patch) | |
tree | da8adefcf7e541501d61c4066d258be21ed2f643 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h | |
parent | 0db7b386f5e779085d5e20ad9d88b8a4b8767c02 (diff) | |
download | lwn-df7eea963e4debe3b8286935c2fe9021c81ddbb6.tar.gz lwn-df7eea963e4debe3b8286935c2fe9021c81ddbb6.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h index 99760fd55ba1..4a7a39a9f1a1 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum.h +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum.h @@ -460,6 +460,7 @@ void mlxsw_sp_acl_rulei_act_continue(struct mlxsw_sp_acl_rule_info *rulei); void mlxsw_sp_acl_rulei_act_jump(struct mlxsw_sp_acl_rule_info *rulei, u16 group_id); int mlxsw_sp_acl_rulei_act_drop(struct mlxsw_sp_acl_rule_info *rulei); +int mlxsw_sp_acl_rulei_act_trap(struct mlxsw_sp_acl_rule_info *rulei); int mlxsw_sp_acl_rulei_act_fwd(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, struct net_device *out_dev); |