trap.h (1bdd3e05a0a3b4a97ea88bc46fef8fb265c8b94c) trap.h (5b051621609d535fac6bdcd232530cc5248e791d)
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 */

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

75 MLXSW_TRAP_ID_DISCARD_ING_SWITCH_STP = 0x14A,
76 MLXSW_TRAP_ID_DISCARD_LOOKUP_SWITCH_UC = 0x150,
77 MLXSW_TRAP_ID_DISCARD_LOOKUP_SWITCH_MC_NULL = 0x151,
78 MLXSW_TRAP_ID_DISCARD_LOOKUP_SWITCH_LB = 0x152,
79 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_NON_IP_PACKET = 0x160,
80 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_UC_DIP_MC_DMAC = 0x161,
81 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_DIP_LB = 0x162,
82 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_MC = 0x163,
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 */

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

75 MLXSW_TRAP_ID_DISCARD_ING_SWITCH_STP = 0x14A,
76 MLXSW_TRAP_ID_DISCARD_LOOKUP_SWITCH_UC = 0x150,
77 MLXSW_TRAP_ID_DISCARD_LOOKUP_SWITCH_MC_NULL = 0x151,
78 MLXSW_TRAP_ID_DISCARD_LOOKUP_SWITCH_LB = 0x152,
79 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_NON_IP_PACKET = 0x160,
80 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_UC_DIP_MC_DMAC = 0x161,
81 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_DIP_LB = 0x162,
82 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_MC = 0x163,
83 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_CLASS_E = 0x164,
83 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_LB = 0x165,
84 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_CORRUPTED_IP_HDR = 0x167,
84 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_LB = 0x165,
85 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_CORRUPTED_IP_HDR = 0x167,
86 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_MC_DMAC = 0x168,
87 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_SIP_DIP = 0x169,
85 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_SIP_BC = 0x16A,
86 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_DIP_LOCAL_NET = 0x16B,
88 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_SIP_BC = 0x16A,
89 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_DIP_LOCAL_NET = 0x16B,
90 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_DIP_LINK_LOCAL = 0x16C,
91 MLXSW_TRAP_ID_DISCARD_ROUTER_IRIF_EN = 0x178,
92 MLXSW_TRAP_ID_DISCARD_ROUTER_ERIF_EN = 0x179,
87 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM4 = 0x17B,
88 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM6 = 0x17C,
89 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_RESERVED_SCOPE = 0x1B0,
90 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_INTERFACE_LOCAL_SCOPE = 0x1B1,
91 MLXSW_TRAP_ID_ACL0 = 0x1C0,
92 /* Multicast trap used for routes with trap action */
93 MLXSW_TRAP_ID_ACL1 = 0x1C1,
94 /* Multicast trap used for routes with trap-and-forward action */

--- 15 unchanged lines hidden ---
93 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM4 = 0x17B,
94 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM6 = 0x17C,
95 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_RESERVED_SCOPE = 0x1B0,
96 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_INTERFACE_LOCAL_SCOPE = 0x1B1,
97 MLXSW_TRAP_ID_ACL0 = 0x1C0,
98 /* Multicast trap used for routes with trap action */
99 MLXSW_TRAP_ID_ACL1 = 0x1C1,
100 /* Multicast trap used for routes with trap-and-forward action */

--- 15 unchanged lines hidden ---