trap.h (196442ec5f13751ed0c66d5c4bc9b58288dea430) trap.h (a318bf621a6eabc45e51ed9297b4c01991bfd7e4)
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2/* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
3
4#ifndef _MLXSW_TRAP_H
5#define _MLXSW_TRAP_H
6
7enum {
8 /* Ethernet EMAD and FDB miss */

--- 79 unchanged lines hidden (view full) ---

88 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_DIP = 0x169,
89 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_SIP_BC = 0x16A,
90 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_DIP_LOCAL_NET = 0x16B,
91 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_DIP_LINK_LOCAL = 0x16C,
92 MLXSW_TRAP_ID_DISCARD_ROUTER_IRIF_EN = 0x178,
93 MLXSW_TRAP_ID_DISCARD_ROUTER_ERIF_EN = 0x179,
94 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM4 = 0x17B,
95 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM6 = 0x17C,
1/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2/* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
3
4#ifndef _MLXSW_TRAP_H
5#define _MLXSW_TRAP_H
6
7enum {
8 /* Ethernet EMAD and FDB miss */

--- 79 unchanged lines hidden (view full) ---

88 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_DIP = 0x169,
89 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_SIP_BC = 0x16A,
90 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_DIP_LOCAL_NET = 0x16B,
91 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_DIP_LINK_LOCAL = 0x16C,
92 MLXSW_TRAP_ID_DISCARD_ROUTER_IRIF_EN = 0x178,
93 MLXSW_TRAP_ID_DISCARD_ROUTER_ERIF_EN = 0x179,
94 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM4 = 0x17B,
95 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM6 = 0x17C,
96 MLXSW_TRAP_ID_DISCARD_DEC_PKT = 0x188,
96 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_RESERVED_SCOPE = 0x1B0,
97 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_INTERFACE_LOCAL_SCOPE = 0x1B1,
98 MLXSW_TRAP_ID_ACL0 = 0x1C0,
99 /* Multicast trap used for routes with trap action */
100 MLXSW_TRAP_ID_ACL1 = 0x1C1,
101 /* Multicast trap used for routes with trap-and-forward action */
102 MLXSW_TRAP_ID_ACL2 = 0x1C2,
103

--- 13 unchanged lines hidden ---
97 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_RESERVED_SCOPE = 0x1B0,
98 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_INTERFACE_LOCAL_SCOPE = 0x1B1,
99 MLXSW_TRAP_ID_ACL0 = 0x1C0,
100 /* Multicast trap used for routes with trap action */
101 MLXSW_TRAP_ID_ACL1 = 0x1C1,
102 /* Multicast trap used for routes with trap-and-forward action */
103 MLXSW_TRAP_ID_ACL2 = 0x1C2,
104

--- 13 unchanged lines hidden ---