trap.h (1ed7d32763857fbdc8e406352404538e41050d22) | trap.h (8d54814e5233f92bdc2e5185c5dbf4978f7c2742) |
---|---|
1/* 2 * drivers/net/ethernet/mellanox/mlxsw/trap.h 3 * Copyright (c) 2015 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2015 Elad Raz <eladr@mellanox.com> 5 * Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com> 6 * Copyright (c) 2015 Ido Schimmel <idosch@mellanox.com> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 47 unchanged lines hidden (view full) --- 56 MLXSW_TRAP_ID_IGMP_V3_REPORT = 0x34, 57 MLXSW_TRAP_ID_PKT_SAMPLE = 0x38, 58 MLXSW_TRAP_ID_FID_MISS = 0x3D, 59 MLXSW_TRAP_ID_ARPBC = 0x50, 60 MLXSW_TRAP_ID_ARPUC = 0x51, 61 MLXSW_TRAP_ID_MTUERROR = 0x52, 62 MLXSW_TRAP_ID_TTLERROR = 0x53, 63 MLXSW_TRAP_ID_LBERROR = 0x54, | 1/* 2 * drivers/net/ethernet/mellanox/mlxsw/trap.h 3 * Copyright (c) 2015 Mellanox Technologies. All rights reserved. 4 * Copyright (c) 2015 Elad Raz <eladr@mellanox.com> 5 * Copyright (c) 2015 Jiri Pirko <jiri@mellanox.com> 6 * Copyright (c) 2015 Ido Schimmel <idosch@mellanox.com> 7 * 8 * Redistribution and use in source and binary forms, with or without --- 47 unchanged lines hidden (view full) --- 56 MLXSW_TRAP_ID_IGMP_V3_REPORT = 0x34, 57 MLXSW_TRAP_ID_PKT_SAMPLE = 0x38, 58 MLXSW_TRAP_ID_FID_MISS = 0x3D, 59 MLXSW_TRAP_ID_ARPBC = 0x50, 60 MLXSW_TRAP_ID_ARPUC = 0x51, 61 MLXSW_TRAP_ID_MTUERROR = 0x52, 62 MLXSW_TRAP_ID_TTLERROR = 0x53, 63 MLXSW_TRAP_ID_LBERROR = 0x54, |
64 MLXSW_TRAP_ID_OSPF = 0x55, | 64 MLXSW_TRAP_ID_IPV4_OSPF = 0x55, |
65 MLXSW_TRAP_ID_IP2ME = 0x5F, | 65 MLXSW_TRAP_ID_IP2ME = 0x5F, |
66 MLXSW_TRAP_ID_IPV6_UNSPECIFIED_ADDRESS = 0x60, 67 MLXSW_TRAP_ID_IPV6_LINK_LOCAL_DEST = 0x61, 68 MLXSW_TRAP_ID_IPV6_LINK_LOCAL_SRC = 0x62, 69 MLXSW_TRAP_ID_IPV6_ALL_NODES_LINK = 0x63, 70 MLXSW_TRAP_ID_IPV6_OSPF = 0x64, 71 MLXSW_TRAP_ID_IPV6_MLDV12_LISTENER_QUERY = 0x65, 72 MLXSW_TRAP_ID_IPV6_MLDV1_LISTENER_REPORT = 0x66, 73 MLXSW_TRAP_ID_IPV6_MLDV1_LISTENER_DONE = 0x67, 74 MLXSW_TRAP_ID_IPV6_MLDV2_LISTENER_REPORT = 0x68, 75 MLXSW_TRAP_ID_IPV6_DHCP = 0x69, 76 MLXSW_TRAP_ID_IPV6_ALL_ROUTERS_LINK = 0x6F, |
|
66 MLXSW_TRAP_ID_RTR_INGRESS0 = 0x70, | 77 MLXSW_TRAP_ID_RTR_INGRESS0 = 0x70, |
67 MLXSW_TRAP_ID_BGP_IPV4 = 0x88, | 78 MLXSW_TRAP_ID_IPV4_BGP = 0x88, 79 MLXSW_TRAP_ID_IPV6_BGP = 0x89, 80 MLXSW_TRAP_ID_L3_IPV6_ROUTER_SOLICITATION = 0x8A, 81 MLXSW_TRAP_ID_L3_IPV6_ROUTER_ADVERTISMENT = 0x8B, 82 MLXSW_TRAP_ID_L3_IPV6_NEIGHBOR_SOLICITATION = 0x8C, 83 MLXSW_TRAP_ID_L3_IPV6_NEIGHBOR_ADVERTISMENT = 0x8D, 84 MLXSW_TRAP_ID_L3_IPV6_REDIRECTION = 0x8E, |
68 MLXSW_TRAP_ID_HOST_MISS_IPV4 = 0x90, | 85 MLXSW_TRAP_ID_HOST_MISS_IPV4 = 0x90, |
86 MLXSW_TRAP_ID_IPV6_MC_LINK_LOCAL_DEST = 0x91, 87 MLXSW_TRAP_ID_HOST_MISS_IPV6 = 0x92, 88 MLXSW_TRAP_ID_ROUTER_ALERT_IPV4 = 0xD6, 89 MLXSW_TRAP_ID_ROUTER_ALERT_IPV6 = 0xD7, |
|
69 MLXSW_TRAP_ID_ACL0 = 0x1C0, 70 71 MLXSW_TRAP_ID_MAX = 0x1FF 72}; 73 74enum mlxsw_event_trap_id { 75 /* Port Up/Down event generated by hardware */ 76 MLXSW_TRAP_ID_PUDE = 0x8, 77}; 78 79#endif /* _MLXSW_TRAP_H */ | 90 MLXSW_TRAP_ID_ACL0 = 0x1C0, 91 92 MLXSW_TRAP_ID_MAX = 0x1FF 93}; 94 95enum mlxsw_event_trap_id { 96 /* Port Up/Down event generated by hardware */ 97 MLXSW_TRAP_ID_PUDE = 0x8, 98}; 99 100#endif /* _MLXSW_TRAP_H */ |