1 .. SPDX-License-Identifier: GPL-2.0 1 .. SPDX-License-Identifier: GPL-2.0 2 2 3 ======================== 3 ======================== 4 prestera devlink support 4 prestera devlink support 5 ======================== 5 ======================== 6 6 7 This document describes the devlink features i 7 This document describes the devlink features implemented by the ``prestera`` 8 device driver. 8 device driver. 9 9 10 Driver-specific Traps 10 Driver-specific Traps 11 ===================== 11 ===================== 12 12 13 .. list-table:: List of Driver-specific Traps 13 .. list-table:: List of Driver-specific Traps Registered by ``prestera`` 14 :widths: 5 5 90 14 :widths: 5 5 90 15 15 16 * - Name 16 * - Name 17 - Type 17 - Type 18 - Description 18 - Description 19 .. list-table:: List of Driver-specific Traps 19 .. list-table:: List of Driver-specific Traps Registered by ``prestera`` 20 :widths: 5 5 90 20 :widths: 5 5 90 21 21 22 * - Name 22 * - Name 23 - Type 23 - Type 24 - Description 24 - Description 25 * - ``arp_bc`` 25 * - ``arp_bc`` 26 - ``trap`` 26 - ``trap`` 27 - Traps ARP broadcast packets (both reque 27 - Traps ARP broadcast packets (both requests/responses) 28 * - ``is_is`` 28 * - ``is_is`` 29 - ``trap`` 29 - ``trap`` 30 - Traps IS-IS packets 30 - Traps IS-IS packets 31 * - ``ospf`` 31 * - ``ospf`` 32 - ``trap`` 32 - ``trap`` 33 - Traps OSPF packets 33 - Traps OSPF packets 34 * - ``ip_bc_mac`` 34 * - ``ip_bc_mac`` 35 - ``trap`` 35 - ``trap`` 36 - Traps IPv4 packets with broadcast DA Ma 36 - Traps IPv4 packets with broadcast DA Mac address 37 * - ``stp`` 37 * - ``stp`` 38 - ``trap`` 38 - ``trap`` 39 - Traps STP BPDU 39 - Traps STP BPDU 40 * - ``lacp`` 40 * - ``lacp`` 41 - ``trap`` 41 - ``trap`` 42 - Traps LACP packets 42 - Traps LACP packets 43 * - ``lldp`` 43 * - ``lldp`` 44 - ``trap`` 44 - ``trap`` 45 - Traps LLDP packets 45 - Traps LLDP packets 46 * - ``router_mc`` 46 * - ``router_mc`` 47 - ``trap`` 47 - ``trap`` 48 - Traps multicast packets 48 - Traps multicast packets 49 * - ``vrrp`` 49 * - ``vrrp`` 50 - ``trap`` 50 - ``trap`` 51 - Traps VRRP packets 51 - Traps VRRP packets 52 * - ``dhcp`` 52 * - ``dhcp`` 53 - ``trap`` 53 - ``trap`` 54 - Traps DHCP packets 54 - Traps DHCP packets 55 * - ``mtu_error`` 55 * - ``mtu_error`` 56 - ``trap`` 56 - ``trap`` 57 - Traps (exception) packets that exceeded 57 - Traps (exception) packets that exceeded port's MTU 58 * - ``mac_to_me`` 58 * - ``mac_to_me`` 59 - ``trap`` 59 - ``trap`` 60 - Traps packets with switch-port's DA Ma 60 - Traps packets with switch-port's DA Mac address 61 * - ``ttl_error`` 61 * - ``ttl_error`` 62 - ``trap`` 62 - ``trap`` 63 - Traps (exception) IPv4 packets whose TT 63 - Traps (exception) IPv4 packets whose TTL exceeded 64 * - ``ipv4_options`` 64 * - ``ipv4_options`` 65 - ``trap`` 65 - ``trap`` 66 - Traps (exception) packets due to the ma 66 - Traps (exception) packets due to the malformed IPV4 header options 67 * - ``ip_default_route`` 67 * - ``ip_default_route`` 68 - ``trap`` 68 - ``trap`` 69 - Traps packets that have no specific IP 69 - Traps packets that have no specific IP interface (IP to me) and no forwarding prefix 70 * - ``local_route`` 70 * - ``local_route`` 71 - ``trap`` 71 - ``trap`` 72 - Traps packets that have been send to on 72 - Traps packets that have been send to one of switch IP interfaces addresses 73 * - ``ipv4_icmp_redirect`` 73 * - ``ipv4_icmp_redirect`` 74 - ``trap`` 74 - ``trap`` 75 - Traps (exception) IPV4 ICMP redirect pa 75 - Traps (exception) IPV4 ICMP redirect packets 76 * - ``arp_response`` 76 * - ``arp_response`` 77 - ``trap`` 77 - ``trap`` 78 - Traps ARP replies packets that have swi 78 - Traps ARP replies packets that have switch-port's DA Mac address 79 * - ``acl_code_0`` 79 * - ``acl_code_0`` 80 - ``trap`` 80 - ``trap`` 81 - Traps packets that have ACL priority se 81 - Traps packets that have ACL priority set to 0 (tc pref 0) 82 * - ``acl_code_1`` 82 * - ``acl_code_1`` 83 - ``trap`` 83 - ``trap`` 84 - Traps packets that have ACL priority se 84 - Traps packets that have ACL priority set to 1 (tc pref 1) 85 * - ``acl_code_2`` 85 * - ``acl_code_2`` 86 - ``trap`` 86 - ``trap`` 87 - Traps packets that have ACL priority se 87 - Traps packets that have ACL priority set to 2 (tc pref 2) 88 * - ``acl_code_3`` 88 * - ``acl_code_3`` 89 - ``trap`` 89 - ``trap`` 90 - Traps packets that have ACL priority se 90 - Traps packets that have ACL priority set to 3 (tc pref 3) 91 * - ``acl_code_4`` 91 * - ``acl_code_4`` 92 - ``trap`` 92 - ``trap`` 93 - Traps packets that have ACL priority se 93 - Traps packets that have ACL priority set to 4 (tc pref 4) 94 * - ``acl_code_5`` 94 * - ``acl_code_5`` 95 - ``trap`` 95 - ``trap`` 96 - Traps packets that have ACL priority se 96 - Traps packets that have ACL priority set to 5 (tc pref 5) 97 * - ``acl_code_6`` 97 * - ``acl_code_6`` 98 - ``trap`` 98 - ``trap`` 99 - Traps packets that have ACL priority se 99 - Traps packets that have ACL priority set to 6 (tc pref 6) 100 * - ``acl_code_7`` 100 * - ``acl_code_7`` 101 - ``trap`` 101 - ``trap`` 102 - Traps packets that have ACL priority se 102 - Traps packets that have ACL priority set to 7 (tc pref 7) 103 * - ``ipv4_bgp`` 103 * - ``ipv4_bgp`` 104 - ``trap`` 104 - ``trap`` 105 - Traps IPv4 BGP packets 105 - Traps IPv4 BGP packets 106 * - ``ssh`` 106 * - ``ssh`` 107 - ``trap`` 107 - ``trap`` 108 - Traps SSH packets 108 - Traps SSH packets 109 * - ``telnet`` 109 * - ``telnet`` 110 - ``trap`` 110 - ``trap`` 111 - Traps Telnet packets 111 - Traps Telnet packets 112 * - ``icmp`` 112 * - ``icmp`` 113 - ``trap`` 113 - ``trap`` 114 - Traps ICMP packets 114 - Traps ICMP packets 115 * - ``rxdma_drop`` 115 * - ``rxdma_drop`` 116 - ``drop`` 116 - ``drop`` 117 - Drops packets (RxDMA) due to the lack o 117 - Drops packets (RxDMA) due to the lack of ingress buffers etc. 118 * - ``port_no_vlan`` 118 * - ``port_no_vlan`` 119 - ``drop`` 119 - ``drop`` 120 - Drops packets due to faulty-configured 120 - Drops packets due to faulty-configured network or due to internal bug (config issue). 121 * - ``local_port`` 121 * - ``local_port`` 122 - ``drop`` 122 - ``drop`` 123 - Drops packets whose decision (FDB entry 123 - Drops packets whose decision (FDB entry) is to bridge packet back to the incoming port/trunk. 124 * - ``invalid_sa`` 124 * - ``invalid_sa`` 125 - ``drop`` 125 - ``drop`` 126 - Drops packets with multicast source MAC 126 - Drops packets with multicast source MAC address. 127 * - ``illegal_ip_addr`` 127 * - ``illegal_ip_addr`` 128 - ``drop`` 128 - ``drop`` 129 - Drops packets with illegal SIP/DIP mult 129 - Drops packets with illegal SIP/DIP multicast/unicast addresses. 130 * - ``illegal_ipv4_hdr`` 130 * - ``illegal_ipv4_hdr`` 131 - ``drop`` 131 - ``drop`` 132 - Drops packets with illegal IPV4 header. 132 - Drops packets with illegal IPV4 header. 133 * - ``ip_uc_dip_da_mismatch`` 133 * - ``ip_uc_dip_da_mismatch`` 134 - ``drop`` 134 - ``drop`` 135 - Drops packets with destination MAC bein 135 - Drops packets with destination MAC being unicast, but destination IP address being multicast. 136 * - ``ip_sip_is_zero`` 136 * - ``ip_sip_is_zero`` 137 - ``drop`` 137 - ``drop`` 138 - Drops packets with zero (0) IPV4 source 138 - Drops packets with zero (0) IPV4 source address. 139 * - ``met_red`` 139 * - ``met_red`` 140 - ``drop`` 140 - ``drop`` 141 - Drops non-conforming packets (dropped b 141 - Drops non-conforming packets (dropped by Ingress policer, metering drop), e.g. packet rate exceeded configured bandwidth.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.