← Documents Documentation/networking/devlink/prestera.rst GitHub 원문 ↗

Linux 6.18.37 · Networking

prestera devlink support

prestera의 제어 프로토콜·ACL·예외·드롭 트랩 전체를 설명합니다.

Source pathDocumentation/networking/devlink/prestera.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
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.
142

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.