~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/networking/devlink/prestera.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php