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