1 .. SPDX-License-Identifier: GPL-2.0
3 ========================
4 prestera devlink support
5 ========================
7 This document describes the devlink features implemented by the ``prestera``
13 .. list-table:: List of Driver-specific Traps Registered by ``prestera``
19 .. list-table:: List of Driver-specific Traps Registered by ``prestera``
27 - Traps ARP broadcast packets (both requests/responses)
36 - Traps IPv4 packets with broadcast DA Mac address
48 - Traps multicast packets
57 - Traps (exception) packets that exceeded port's MTU
60 - Traps packets with switch-port's DA Mac address
63 - Traps (exception) IPv4 packets whose TTL exceeded
66 - Traps (exception) packets due to the malformed IPV4 header options
67 * - ``ip_default_route``
69 - Traps packets that have no specific IP interface (IP to me) and no forwarding prefix
72 - Traps packets that have been send to one of switch IP interfaces addresses
73 * - ``ipv4_icmp_redirect``
75 - Traps (exception) IPV4 ICMP redirect packets
78 - Traps ARP replies packets that have switch-port's DA Mac address
81 - Traps packets that have ACL priority set to 0 (tc pref 0)
84 - Traps packets that have ACL priority set to 1 (tc pref 1)
87 - Traps packets that have ACL priority set to 2 (tc pref 2)
90 - Traps packets that have ACL priority set to 3 (tc pref 3)
93 - Traps packets that have ACL priority set to 4 (tc pref 4)
96 - Traps packets that have ACL priority set to 5 (tc pref 5)
99 - Traps packets that have ACL priority set to 6 (tc pref 6)
102 - Traps packets that have ACL priority set to 7 (tc pref 7)
105 - Traps IPv4 BGP packets
111 - Traps Telnet packets
117 - Drops packets (RxDMA) due to the lack of ingress buffers etc.
120 - Drops packets due to faulty-configured network or due to internal bug (config issue).
123 - Drops packets whose decision (FDB entry) is to bridge packet back to the incoming port/trunk.
126 - Drops packets with multicast source MAC address.
127 * - ``illegal_ip_addr``
129 - Drops packets with illegal SIP/DIP multicast/unicast addresses.
130 * - ``illegal_ipv4_hdr``
132 - Drops packets with illegal IPV4 header.
133 * - ``ip_uc_dip_da_mismatch``
135 - Drops packets with destination MAC being unicast, but destination IP address being multicast.
136 * - ``ip_sip_is_zero``
138 - Drops packets with zero (0) IPV4 source address.
141 - Drops non-conforming packets (dropped by Ingress policer, metering drop), e.g. packet rate exceeded configured bandwith.