summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlxsw/trap.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-06-06 15:12:05 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-06 19:45:24 +0300
commit0db7b386f5e779085d5e20ad9d88b8a4b8767c02 (patch)
tree8b12aebdfb78e309d6a8f5ba796fb73173e246e0 /drivers/net/ethernet/mellanox/mlxsw/trap.h
parentbe8408e1440cbc86683e4e1c65270ad517b4274a (diff)
downloadlinux-0db7b386f5e779085d5e20ad9d88b8a4b8767c02.tar.xz
mlxsw: spectrum: Introduce ACL trap
Introduce an ACL trap and put it into ip2me trap group. 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/trap.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/trap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/trap.h b/drivers/net/ethernet/mellanox/mlxsw/trap.h
index e008fdbed20f..12b5ed58f3eb 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/trap.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/trap.h
@@ -66,6 +66,7 @@ enum {
MLXSW_TRAP_ID_RTR_INGRESS0 = 0x70,
MLXSW_TRAP_ID_BGP_IPV4 = 0x88,
MLXSW_TRAP_ID_HOST_MISS_IPV4 = 0x90,
+ MLXSW_TRAP_ID_ACL0 = 0x1C0,
MLXSW_TRAP_ID_MAX = 0x1FF
};