trap.h (98817a84ff1c755c347ac633ff017a623a631fad) | trap.h (47e4b1620e804cf3b45523b0023400df330ea25c) |
---|---|
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 */ --- 94 unchanged lines hidden (view full) --- 103 MLXSW_TRAP_ID_ACL0 = 0x1C0, 104 /* Multicast trap used for routes with trap action */ 105 MLXSW_TRAP_ID_ACL1 = 0x1C1, 106 /* Multicast trap used for routes with trap-and-forward action */ 107 MLXSW_TRAP_ID_ACL2 = 0x1C2, 108 MLXSW_TRAP_ID_DISCARD_INGRESS_ACL = 0x1C3, 109 MLXSW_TRAP_ID_DISCARD_EGRESS_ACL = 0x1C4, 110 | 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 */ --- 94 unchanged lines hidden (view full) --- 103 MLXSW_TRAP_ID_ACL0 = 0x1C0, 104 /* Multicast trap used for routes with trap action */ 105 MLXSW_TRAP_ID_ACL1 = 0x1C1, 106 /* Multicast trap used for routes with trap-and-forward action */ 107 MLXSW_TRAP_ID_ACL2 = 0x1C2, 108 MLXSW_TRAP_ID_DISCARD_INGRESS_ACL = 0x1C3, 109 MLXSW_TRAP_ID_DISCARD_EGRESS_ACL = 0x1C4, 110 |
111 MLXSW_TRAP_ID_MAX = 0x1FF | 111 MLXSW_TRAP_ID_MAX = 0x3FF, |
112}; 113 114enum mlxsw_event_trap_id { 115 /* Port Up/Down event generated by hardware */ 116 MLXSW_TRAP_ID_PUDE = 0x8, 117 /* PTP Ingress FIFO has a new entry */ 118 MLXSW_TRAP_ID_PTP_ING_FIFO = 0x2D, 119 /* PTP Egress FIFO has a new entry */ 120 MLXSW_TRAP_ID_PTP_EGR_FIFO = 0x2E, 121}; 122 123#endif /* _MLXSW_TRAP_H */ | 112}; 113 114enum mlxsw_event_trap_id { 115 /* Port Up/Down event generated by hardware */ 116 MLXSW_TRAP_ID_PUDE = 0x8, 117 /* PTP Ingress FIFO has a new entry */ 118 MLXSW_TRAP_ID_PTP_ING_FIFO = 0x2D, 119 /* PTP Egress FIFO has a new entry */ 120 MLXSW_TRAP_ID_PTP_EGR_FIFO = 0x2E, 121}; 122 123#endif /* _MLXSW_TRAP_H */ |