trap.h (22164fbe274c2dd96d2887fe121896d321000a61) trap.h (62b0fb099ce2559293913d5bacf0c3aef08324e1)
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,
85 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_SIP_BC = 0x16A,
86 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_DIP_LOCAL_NET = 0x16B,
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,

--- 19 unchanged lines hidden ---
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_IPV4_SIP_BC = 0x16A,
87 MLXSW_TRAP_ID_DISCARD_ING_ROUTER_IPV4_DIP_LOCAL_NET = 0x16B,
88 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM4 = 0x17B,
89 MLXSW_TRAP_ID_DISCARD_ROUTER_LPM6 = 0x17C,
90 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_RESERVED_SCOPE = 0x1B0,
91 MLXSW_TRAP_ID_DISCARD_IPV6_MC_DIP_INTERFACE_LOCAL_SCOPE = 0x1B1,

--- 19 unchanged lines hidden ---