← Documents Documentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst GitHub 원문 ↗

Linux 6.18.37 · Networking

mlx5 Ethtool Counters

mlx5의 링, vPort, 물리·우선순위 포트와 장치 카운터 233개를 관측 지점과 진단 목적별로 설명합니다.

Source pathDocumentation/networking/device_drivers/ethernet/mellanox/mlx5/counters.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

counters.rst:1-1380

mlx5 카운터는 같은 패킷을 여러 관측 지점에서 봅니다. 링/netdev는 드라이버 소프트웨어 처리, vPort는 eSwitch 조향, 물리 포트는 외부 링크, 우선순위 포트는 PFC와 L2 우선순위, 장치 카운터는 PCIe와 내부 버퍼 상태를 보여 줍니다. 따라서 단일 숫자보다 경로 앞뒤의 카운터를 함께 비교해야 원인을 좁힐 수 있습니다.

패킷 경로와 카운터 범위
VM / 애플리케이션PF·VF 링netdev 합계eSwitch vPort업링크물리 포트외부 네트워크
XDP·TLS·체크섬조향·representor프레임·FEC·pausePCIe·장치 큐

동일 트래픽이 지나는 순서대로 관측 범위를 배치했습니다.

카운터 그룹 선택
그룹관측 범위대표 진단
링 / netdev드라이버 RX/TX 큐CQE/WQE, 체크섬, GRO, XDP, TLS, 페이지 풀
vPorteSwitch 포트조향 누락, RDMA, representor, 내부 RQ 부족
물리 포트외부 Ethernet 링크CRC/FCS, MTU, 링크 플랩, 모듈, BER/FEC, pause
우선순위 포트L2 우선순위 0~7PFC pause, 호스트별 혼잡과 드롭
장치PCIe와 내부 자원신호 무결성, credit 정체, 대역폭 임계값, 버퍼 부족

증상에 가장 가까운 관측 지점에서 시작하고 인접 지점과 비교합니다.

증상별 교차 확인
증상먼저 볼 카운터함께 확인할 항목
수신 손실`rx_discards_phy`, `dev_internal_queue_oob`링 WQE 오류, 인터페이스 상태, 장치 버퍼
링크 품질 저하`rx_crc_errors_phy`, `rx_symbol_err_phy``rx_corrected_bits_phy`, `rx_bits_phy`, 케이블·모듈
네트워크 혼잡`rx_pause_ctrl_phy`, 우선순위 pausePFC 설정, 상대 장비 큐, ECN 표시
호스트/PCIe 병목`outbound_pci_stalled_*``pci_bw_*_high/low`, 슬롯, BIOS·펌웨어
XDP/AF_XDP 손실`*_full`, `*_err`, 할당 오류SQ 크기, MTU, 페이지 풀과 CQE
TLS/PTP 이상`*_tls_err`, `ptp_cq[*]_*`재동기화 응답, 타임스탬프 시간 차

오류 카운터와 원인 후보를 함께 묶었습니다.

가속 유형은 별도 성공량이 아니라 표준 카운터에 이미 포함된 트래픽을 다시 세는 보조 지표입니다. 합계를 낼 때 중복을 제거해야 합니다. 오류 유형은 증가율과 인접 관측 지점의 차이를 함께 보십시오.

ip -s link show <if-name>
ethtool -S <if-name>

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
2 .. include:: <isonum.txt>
3
4 ================
5 Ethtool counters
6 ================
7
8 :Copyright: |copy| 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
9
10 Contents
11 ========
12
13 - `Overview`_
14 - `Groups`_
15 - `Types`_
16 - `Descriptions`_
17
18 Overview
19 ========
20
21 There are several counter groups based on where the counter is being counted. In
22 addition, each group of counters may have different counter types.
23
24 These counter groups are based on which component in a networking setup,
25 illustrated below, that they describe::
26
27 ----------------------------------------
28 | |
29 ---------------------------------------- ---------------------------------------- |
30 | Hypervisor | | VM | |
31 | | | | |
32 | ------------------- --------------- | | ------------------- --------------- | |
33 | | Ethernet driver | | RDMA driver | | | | Ethernet driver | | RDMA driver | | |
34 | ------------------- --------------- | | ------------------- --------------- | |
35 | | | | | | | | |
36 | ------------------- | | ------------------- | |
37 | | | | | |--
38 ---------------------------------------- ----------------------------------------
39 | |
40 ------------- -----------------------------
41 | |
42 ------ ------ ------ ------ ------ ------ ------
43 -----| PF |----------------------| VF |-| VF |-| VF |----- --| PF |--- --| PF |--- --| PF |---
44 | ------ ------ ------ ------ | | ------ | | ------ | | ------ |
45 | | | | | | | |
46 | | | | | | | |
47 | | | | | | | |
48 | eSwitch | | eSwitch | | eSwitch | | eSwitch |
49 ---------------------------------------------------------- ----------- ----------- -----------
50 -------------------------------------------------------------------------------
51 | |
52 | |
53 | Uplink (no counters) |
54 -------------------------------------------------------------------------------
55 ---------------------------------------------------------------
56 | |
57 | |
58 | MPFS (no counters) |
59 ---------------------------------------------------------------
60 |
61 |
62 | Port
63
64 Groups
65 ======
66
67 Ring
68 Software counters populated by the driver stack.
69
70 Netdev
71 An aggregation of software ring counters.
72
73 vPort counters
74 Traffic counters and drops due to steering or no buffers. May indicate issues
75 with NIC. These counters include Ethernet traffic counters (including Raw
76 Ethernet) and RDMA/RoCE traffic counters.
77
78 Physical port counters
79 Counters that collect statistics about the PFs and VFs. May indicate issues
80 with NIC, link, or network. This measuring point holds information on
81 standardized counters like IEEE 802.3, RFC2863, RFC 2819, RFC 3635 and
82 additional counters like flow control, FEC and more. Physical port counters
83 are not exposed to virtual machines.
84
85 Priority Port Counters
86 A set of the physical port counters, per priority per port.
87
88 Types
89 =====
90
91 Counters are divided into three types.
92
93 Traffic Informative Counters
94 Counters which count traffic. These counters can be used for load estimation
95 or for general debug.
96
97 Traffic Acceleration Counters
98 Counters which count traffic that was accelerated by Mellanox driver or by
99 hardware. The counters are an additional layer to the informative counter set,
100 and the same traffic is counted in both informative and acceleration counters.
101
102 .. [#accel] Traffic acceleration counter.
103
104 Error Counters
105 Increment of these counters might indicate a problem. Each of these counters
106 has an explanation and correction action.
107
108 Statistic can be fetched via the `ip link` or `ethtool` commands. `ethtool`
109 provides more detailed information.::
110
111 ip –s link show <if-name>
112 ethtool -S <if-name>
113
114 Descriptions
115 ============
116
117 XSK, PTP, and QoS counters that are similar to counters defined previously will
118 not be separately listed. For example, `ptp_tx[i]_packets` will not be
119 explicitly documented since `tx[i]_packets` describes the behavior of both
120 counters, except `ptp_tx[i]_packets` is only counted when precision time
121 protocol is used.
122
123 Ring / Netdev Counter
124 ----------------------------
125 The following counters are available per ring or software port.
126
127 These counters provide information on the amount of traffic that was accelerated
128 by the NIC. The counters are counting the accelerated traffic in addition to the
129 standard counters which counts it (i.e. accelerated traffic is counted twice).
130
131 The counter names in the table below refers to both ring and port counters. The
132 notation for ring counters includes the [i] index without the braces. The
133 notation for port counters doesn't include the [i]. A counter name
134 `rx[i]_packets` will be printed as `rx0_packets` for ring 0 and `rx_packets` for
135 the software port.
136
137 .. flat-table:: Ring / Software Port Counter Table
138 :widths: 2 3 1
139
140 * - Counter
141 - Description
142 - Type
143
144 * - `rx[i]_packets`
145 - The number of packets received on ring i.
146 - Informative
147
148 * - `rx[i]_bytes`
149 - The number of bytes received on ring i.
150 - Informative
151
152 * - `tx[i]_packets`
153 - The number of packets transmitted on ring i.
154 - Informative
155
156 * - `tx[i]_bytes`
157 - The number of bytes transmitted on ring i.
158 - Informative
159
160 * - `tx[i]_recover`
161 - The number of times the SQ was recovered.
162 - Error
163
164 * - `tx[i]_cqes`
165 - Number of CQEs events on SQ issued on ring i.
166 - Informative
167
168 * - `tx[i]_cqe_err`
169 - The number of error CQEs encountered on the SQ for ring i.
170 - Error
171
172 * - `tx[i]_tso_packets`
173 - The number of TSO packets transmitted on ring i [#accel]_.
174 - Acceleration
175
176 * - `tx[i]_tso_bytes`
177 - The number of TSO bytes transmitted on ring i [#accel]_.
178 - Acceleration
179
180 * - `tx[i]_tso_inner_packets`
181 - The number of TSO packets which are indicated to be carry internal
182 encapsulation transmitted on ring i [#accel]_.
183 - Acceleration
184
185 * - `tx[i]_tso_inner_bytes`
186 - The number of TSO bytes which are indicated to be carry internal
187 encapsulation transmitted on ring i [#accel]_.
188 - Acceleration
189
190 * - `rx[i]_gro_packets`
191 - Number of received packets processed using hardware-accelerated GRO. The
192 number of hardware GRO offloaded packets received on ring i. Only true GRO
193 packets are counted: only packets that are in an SKB with a GRO count > 1.
194 - Acceleration
195
196 * - `rx[i]_gro_bytes`
197 - Number of received bytes processed using hardware-accelerated GRO. The
198 number of hardware GRO offloaded bytes received on ring i. Only true GRO
199 packets are counted: only packets that are in an SKB with a GRO count > 1.
200 - Acceleration
201
202 * - `rx[i]_gro_skbs`
203 - The number of GRO SKBs constructed from hardware-accelerated GRO. Only SKBs
204 with a GRO count > 1 are counted.
205 - Informative
206
207 * - `rx[i]_gro_large_hds`
208 - Number of receive packets using hardware-accelerated GRO that have large
209 headers that require additional memory to be allocated.
210 - Informative
211
212 * - `rx[i]_hds_nodata_packets`
213 - Number of header only packets in header/data split mode [#accel]_.
214 - Informative
215
216 * - `rx[i]_hds_nodata_bytes`
217 - Number of bytes for header only packets in header/data split mode
218 [#accel]_.
219 - Informative
220
221 * - `rx[i]_hds_nosplit_packets`
222 - Number of packets that were not split in header/data split mode. A
223 packet will not get split when the hardware does not support its
224 protocol splitting. An example such a protocol is ICMPv4/v6. Currently
225 TCP and UDP with IPv4/IPv6 are supported for header/data split
226 [#accel]_.
227 - Informative
228
229 * - `rx[i]_hds_nosplit_bytes`
230 - Number of bytes for packets that were not split in header/data split
231 mode. A packet will not get split when the hardware does not support its
232 protocol splitting. An example such a protocol is ICMPv4/v6. Currently
233 TCP and UDP with IPv4/IPv6 are supported for header/data split
234 [#accel]_.
235 - Informative
236
237 * - `rx[i]_lro_packets`
238 - The number of LRO packets received on ring i [#accel]_.
239 - Acceleration
240
241 * - `rx[i]_lro_bytes`
242 - The number of LRO bytes received on ring i [#accel]_.
243 - Acceleration
244
245 * - `rx[i]_ecn_mark`
246 - The number of received packets where the ECN mark was turned on.
247 - Informative
248
249 * - `rx_oversize_pkts_buffer`
250 - The number of dropped received packets due to length which arrived to RQ
251 and exceed software buffer size allocated by the device for incoming
252 traffic. It might imply that the device MTU is larger than the software
253 buffers size.
254 - Error
255
256 * - `rx_oversize_pkts_sw_drop`
257 - Number of received packets dropped in software because the CQE data is
258 larger than the MTU size.
259 - Error
260
261 * - `rx[i]_csum_unnecessary`
262 - Packets received with a `CHECKSUM_UNNECESSARY` on ring i [#accel]_.
263 - Acceleration
264
265 * - `rx[i]_csum_unnecessary_inner`
266 - Packets received with inner encapsulation with a `CHECKSUM_UNNECESSARY`
267 on ring i [#accel]_.
268 - Acceleration
269
270 * - `rx[i]_csum_none`
271 - Packets received with a `CHECKSUM_NONE` on ring i [#accel]_.
272 - Acceleration
273
274 * - `rx[i]_csum_complete`
275 - Packets received with a `CHECKSUM_COMPLETE` on ring i [#accel]_.
276 - Acceleration
277
278 * - `rx[i]_csum_complete_tail`
279 - Number of received packets that had checksum calculation computed,
280 potentially needed padding, and were able to do so with
281 `CHECKSUM_PARTIAL`.
282 - Informative
283
284 * - `rx[i]_csum_complete_tail_slow`
285 - Number of received packets that need padding larger than eight bytes for
286 the checksum.
287 - Informative
288
289 * - `tx[i]_csum_partial`
290 - Packets transmitted with a `CHECKSUM_PARTIAL` on ring i [#accel]_.
291 - Acceleration
292
293 * - `tx[i]_csum_partial_inner`
294 - Packets transmitted with inner encapsulation with a `CHECKSUM_PARTIAL` on
295 ring i [#accel]_.
296 - Acceleration
297
298 * - `tx[i]_csum_none`
299 - Packets transmitted with no hardware checksum acceleration on ring i.
300 - Informative
301
302 * - `tx[i]_stopped` / `tx_queue_stopped` [#ring_global]_
303 - Events where SQ was full on ring i. If this counter is increased, check
304 the amount of buffers allocated for transmission.
305 - Informative
306
307 * - `tx[i]_wake` / `tx_queue_wake` [#ring_global]_
308 - Events where SQ was full and has become not full on ring i.
309 - Informative
310
311 * - `tx[i]_dropped` / `tx_queue_dropped` [#ring_global]_
312 - Packets transmitted that were dropped due to DMA mapping failure on
313 ring i. If this counter is increased, check the amount of buffers
314 allocated for transmission.
315 - Error
316
317 * - `tx[i]_nop`
318 - The number of nop WQEs (empty WQEs) inserted to the SQ (related to
319 ring i) due to the reach of the end of the cyclic buffer. When reaching
320 near to the end of cyclic buffer the driver may add those empty WQEs to
321 avoid handling a state the a WQE start in the end of the queue and ends
322 in the beginning of the queue. This is a normal condition.
323 - Informative
324
325 * - `tx[i]_timestamps`
326 - Transmitted packets that were hardware timestamped at the device's DMA
327 layer.
328 - Informative
329
330 * - `tx[i]_added_vlan_packets`
331 - The number of packets sent where vlan tag insertion was offloaded to the
332 hardware.
333 - Acceleration
334
335 * - `rx[i]_removed_vlan_packets`
336 - The number of packets received where vlan tag stripping was offloaded to
337 the hardware.
338 - Acceleration
339
340 * - `rx[i]_wqe_err`
341 - The number of wrong opcodes received on ring i.
342 - Error
343
344 * - `rx[i]_mpwqe_frag`
345 - The number of WQEs that failed to allocate compound page and hence
346 fragmented MPWQE’s (Multi Packet WQEs) were used on ring i. If this
347 counter raise, it may suggest that there is no enough memory for large
348 pages, the driver allocated fragmented pages. This is not abnormal
349 condition.
350 - Informative
351
352 * - `rx[i]_mpwqe_filler_cqes`
353 - The number of filler CQEs events that were issued on ring i.
354 - Informative
355
356 * - `rx[i]_mpwqe_filler_strides`
357 - The number of strides consumed by filler CQEs on ring i.
358 - Informative
359
360 * - `tx[i]_mpwqe_blks`
361 - The number of send blocks processed from Multi-Packet WQEs (mpwqe).
362 - Informative
363
364 * - `tx[i]_mpwqe_pkts`
365 - The number of send packets processed from Multi-Packet WQEs (mpwqe).
366 - Informative
367
368 * - `rx[i]_cqe_compress_blks`
369 - The number of receive blocks with CQE compression on ring i [#accel]_.
370 - Acceleration
371
372 * - `rx[i]_cqe_compress_pkts`
373 - The number of receive packets with CQE compression on ring i [#accel]_.
374 - Acceleration
375
376 * - `rx[i]_arfs_add`
377 - The number of aRFS flow rules added to the device for direct RQ steering
378 on ring i [#accel]_.
379 - Acceleration
380
381 * - `rx[i]_arfs_request_in`
382 - Number of flow rules that have been requested to move into ring i for
383 direct RQ steering [#accel]_.
384 - Acceleration
385
386 * - `rx[i]_arfs_request_out`
387 - Number of flow rules that have been requested to move out of ring i [#accel]_.
388 - Acceleration
389
390 * - `rx[i]_arfs_expired`
391 - Number of flow rules that have been expired and removed [#accel]_.
392 - Acceleration
393
394 * - `rx[i]_arfs_err`
395 - Number of flow rules that failed to be added to the flow table.
396 - Error
397
398 * - `rx[i]_recover`
399 - The number of times the RQ was recovered.
400 - Error
401
402 * - `tx[i]_xmit_more`
403 - The number of packets sent with `xmit_more` indication set on the skbuff
404 (no doorbell).
405 - Acceleration
406
407 * - `ch[i]_poll`
408 - The number of invocations of NAPI poll of channel i.
409 - Informative
410
411 * - `ch[i]_arm`
412 - The number of times the NAPI poll function completed and armed the
413 completion queues on channel i.
414 - Informative
415
416 * - `ch[i]_aff_change`
417 - The number of times the NAPI poll function explicitly stopped execution
418 on a CPU due to a change in affinity, on channel i.
419 - Informative
420
421 * - `ch[i]_events`
422 - The number of hard interrupt events on the completion queues of channel i.
423 - Informative
424
425 * - `ch[i]_eq_rearm`
426 - The number of times the EQ was recovered.
427 - Error
428
429 * - `ch[i]_force_irq`
430 - Number of times NAPI is triggered by XSK wakeups by posting a NOP to
431 ICOSQ.
432 - Acceleration
433
434 * - `rx[i]_congst_umr`
435 - The number of times an outstanding UMR request is delayed due to
436 congestion, on ring i.
437 - Informative
438
439 * - `rx_pp_alloc_fast`
440 - Number of successful fast path allocations.
441 - Informative
442
443 * - `rx_pp_alloc_slow`
444 - Number of slow path order-0 allocations.
445 - Informative
446
447 * - `rx_pp_alloc_slow_high_order`
448 - Number of slow path high order allocations.
449 - Informative
450
451 * - `rx_pp_alloc_empty`
452 - Counter is incremented when ptr ring is empty, so a slow path allocation
453 was forced.
454 - Informative
455
456 * - `rx_pp_alloc_refill`
457 - Counter is incremented when an allocation which triggered a refill of the
458 cache.
459 - Informative
460
461 * - `rx_pp_alloc_waive`
462 - Counter is incremented when pages obtained from the ptr ring that cannot
463 be added to the cache due to a NUMA mismatch.
464 - Informative
465
466 * - `rx_pp_recycle_cached`
467 - Counter is incremented when recycling placed page in the page pool cache.
468 - Informative
469
470 * - `rx_pp_recycle_cache_full`
471 - Counter is incremented when page pool cache was full.
472 - Informative
473
474 * - `rx_pp_recycle_ring`
475 - Counter is incremented when page placed into the ptr ring.
476 - Informative
477
478 * - `rx_pp_recycle_ring_full`
479 - Counter is incremented when page released from page pool because the ptr
480 ring was full.
481 - Informative
482
483 * - `rx_pp_recycle_released_ref`
484 - Counter is incremented when page released (and not recycled) because
485 refcnt > 1.
486 - Informative
487
488 * - `rx[i]_xsk_buff_alloc_err`
489 - The number of times allocating an skb or XSK buffer failed in the XSK RQ
490 context.
491 - Error
492
493 * - `rx[i]_xdp_tx_xmit`
494 - The number of packets forwarded back to the port due to XDP program
495 `XDP_TX` action (bouncing). these packets are not counted by other
496 software counters. These packets are counted by physical port and vPort
497 counters.
498 - Informative
499
500 * - `rx[i]_xdp_tx_mpwqe`
501 - Number of multi-packet WQEs transmitted by the netdev and `XDP_TX`-ed by
502 the netdev during the RQ context.
503 - Acceleration
504
505 * - `rx[i]_xdp_tx_inlnw`
506 - Number of WQE data segments transmitted where the data could be inlined
507 in the WQE and then `XDP_TX`-ed during the RQ context.
508 - Acceleration
509
510 * - `rx[i]_xdp_tx_nops`
511 - Number of NOP WQEBBs (WQE building blocks) received posted to the XDP SQ.
512 - Acceleration
513
514 * - `rx[i]_xdp_tx_full`
515 - The number of packets that should have been forwarded back to the port
516 due to `XDP_TX` action but were dropped due to full tx queue. These packets
517 are not counted by other software counters. These packets are counted by
518 physical port and vPort counters. You may open more rx queues and spread
519 traffic rx over all queues and/or increase rx ring size.
520 - Error
521
522 * - `rx[i]_xdp_tx_err`
523 - The number of times an `XDP_TX` error such as frame too long and frame
524 too short occurred on `XDP_TX` ring of RX ring.
525 - Error
526
527 * - `rx[i]_xdp_tx_cqes` / `rx_xdp_tx_cqe` [#ring_global]_
528 - The number of completions received on the CQ of the `XDP_TX` ring.
529 - Informative
530
531 * - `rx[i]_xdp_drop`
532 - The number of packets dropped due to XDP program `XDP_DROP` action. these
533 packets are not counted by other software counters. These packets are
534 counted by physical port and vPort counters.
535 - Informative
536
537 * - `rx[i]_xdp_redirect`
538 - The number of times an XDP redirect action was triggered on ring i.
539 - Acceleration
540
541 * - `tx[i]_xdp_xmit`
542 - The number of packets redirected to the interface(due to XDP redirect).
543 These packets are not counted by other software counters. These packets
544 are counted by physical port and vPort counters.
545 - Informative
546
547 * - `tx[i]_xdp_full`
548 - The number of packets redirected to the interface(due to XDP redirect),
549 but were dropped due to full tx queue. these packets are not counted by
550 other software counters. you may enlarge tx queues.
551 - Informative
552
553 * - `tx[i]_xdp_mpwqe`
554 - Number of multi-packet WQEs offloaded onto the NIC that were
555 `XDP_REDIRECT`-ed from other netdevs.
556 - Acceleration
557
558 * - `tx[i]_xdp_inlnw`
559 - Number of WQE data segments where the data could be inlined in the WQE
560 where the data segments were `XDP_REDIRECT`-ed from other netdevs.
561 - Acceleration
562
563 * - `tx[i]_xdp_nops`
564 - Number of NOP WQEBBs (WQE building blocks) posted to the SQ that were
565 `XDP_REDIRECT`-ed from other netdevs.
566 - Acceleration
567
568 * - `tx[i]_xdp_err`
569 - The number of packets redirected to the interface(due to XDP redirect)
570 but were dropped due to error such as frame too long and frame too short.
571 - Error
572
573 * - `tx[i]_xdp_cqes`
574 - The number of completions received for packets redirected to the
575 interface(due to XDP redirect) on the CQ.
576 - Informative
577
578 * - `tx[i]_xsk_xmit`
579 - The number of packets transmitted using XSK zerocopy functionality.
580 - Acceleration
581
582 * - `tx[i]_xsk_mpwqe`
583 - Number of multi-packet WQEs offloaded onto the NIC that were
584 `XDP_REDIRECT`-ed from other netdevs.
585 - Acceleration
586
587 * - `tx[i]_xsk_inlnw`
588 - Number of WQE data segments where the data could be inlined in the WQE
589 that are transmitted using XSK zerocopy.
590 - Acceleration
591
592 * - `tx[i]_xsk_full`
593 - Number of times doorbell is rung in XSK zerocopy mode when SQ is full.
594 - Error
595
596 * - `tx[i]_xsk_err`
597 - Number of errors that occurred in XSK zerocopy mode such as if the data
598 size is larger than the MTU size.
599 - Error
600
601 * - `tx[i]_xsk_cqes`
602 - Number of CQEs processed in XSK zerocopy mode.
603 - Acceleration
604
605 * - `tx_tls_ctx`
606 - Number of TLS TX HW offload contexts added to device for encryption.
607 - Acceleration
608
609 * - `tx_tls_del`
610 - Number of TLS TX HW offload contexts removed from device (connection
611 closed).
612 - Acceleration
613
614 * - `tx_tls_pool_alloc`
615 - Number of times a unit of work is successfully allocated in the TLS HW
616 offload pool.
617 - Acceleration
618
619 * - `tx_tls_pool_free`
620 - Number of times a unit of work is freed in the TLS HW offload pool.
621 - Acceleration
622
623 * - `rx_tls_ctx`
624 - Number of TLS RX HW offload contexts added to device for decryption.
625 - Acceleration
626
627 * - `rx_tls_del`
628 - Number of TLS RX HW offload contexts deleted from device (connection has
629 finished).
630 - Acceleration
631
632 * - `rx[i]_tls_decrypted_packets`
633 - Number of successfully decrypted RX packets which were part of a TLS
634 stream.
635 - Acceleration
636
637 * - `rx[i]_tls_decrypted_bytes`
638 - Number of TLS payload bytes in RX packets which were successfully
639 decrypted.
640 - Acceleration
641
642 * - `rx[i]_tls_resync_req_pkt`
643 - Number of received TLS packets with a resync request.
644 - Acceleration
645
646 * - `rx[i]_tls_resync_req_start`
647 - Number of times the TLS async resync request was started.
648 - Acceleration
649
650 * - `rx[i]_tls_resync_req_end`
651 - Number of times the TLS async resync request properly ended with
652 providing the HW tracked tcp-seq.
653 - Acceleration
654
655 * - `rx[i]_tls_resync_req_skip`
656 - Number of times the TLS async resync request procedure was started but
657 not properly ended.
658 - Error
659
660 * - `rx[i]_tls_resync_res_ok`
661 - Number of times the TLS resync response call to the driver was
662 successfully handled.
663 - Acceleration
664
665 * - `rx[i]_tls_resync_res_retry`
666 - Number of times the TLS resync response call to the driver was
667 reattempted when ICOSQ is full.
668 - Error
669
670 * - `rx[i]_tls_resync_res_skip`
671 - Number of times the TLS resync response call to the driver was terminated
672 unsuccessfully.
673 - Error
674
675 * - `rx[i]_tls_err`
676 - Number of times when CQE TLS offload was problematic.
677 - Error
678
679 * - `tx[i]_tls_encrypted_packets`
680 - The number of send packets that are TLS encrypted by the kernel.
681 - Acceleration
682
683 * - `tx[i]_tls_encrypted_bytes`
684 - The number of send bytes that are TLS encrypted by the kernel.
685 - Acceleration
686
687 * - `tx[i]_tls_ooo`
688 - Number of times out of order TLS SQE fragments were handled on ring i.
689 - Acceleration
690
691 * - `tx[i]_tls_dump_packets`
692 - Number of TLS decrypted packets copied over from NIC over DMA.
693 - Acceleration
694
695 * - `tx[i]_tls_dump_bytes`
696 - Number of TLS decrypted bytes copied over from NIC over DMA.
697 - Acceleration
698
699 * - `tx[i]_tls_resync_bytes`
700 - Number of TLS bytes requested to be resynchronized in order to be
701 decrypted.
702 - Acceleration
703
704 * - `tx[i]_tls_skip_no_sync_data`
705 - Number of TLS send data that can safely be skipped / do not need to be
706 decrypted.
707 - Acceleration
708
709 * - `tx[i]_tls_drop_no_sync_data`
710 - Number of TLS send data that were dropped due to retransmission of TLS
711 data.
712 - Acceleration
713
714 * - `ptp_cq[i]_abort`
715 - Number of times a CQE has to be skipped in precision time protocol due to
716 a skew between the port timestamp and CQE timestamp being greater than
717 128 seconds.
718 - Error
719
720 * - `ptp_cq[i]_abort_abs_diff_ns`
721 - Accumulation of time differences between the port timestamp and CQE
722 timestamp when the difference is greater than 128 seconds in precision
723 time protocol.
724 - Error
725
726 * - `ptp_cq[i]_late_cqe`
727 - Number of times a CQE has been delivered on the PTP timestamping CQ when
728 the CQE was not expected since a certain amount of time had elapsed where
729 the device typically ensures not posting the CQE.
730 - Error
731
732 * - `ptp_cq[i]_lost_cqe`
733 - Number of times a CQE is expected to not be delivered on the PTP
734 timestamping CQE by the device due to a time delta elapsing. If such a
735 CQE is somehow delivered, `ptp_cq[i]_late_cqe` is incremented.
736 - Error
737
738 .. [#ring_global] The corresponding ring and global counters do not share the
739 same name (i.e. do not follow the common naming scheme).
740
741 vPort Counters
742 --------------
743 Counters on the NIC port that is connected to a eSwitch.
744
745 .. flat-table:: vPort Counter Table
746 :widths: 2 3 1
747
748 * - Counter
749 - Description
750 - Type
751
752 * - `rx_vport_unicast_packets`
753 - Unicast packets received, steered to a port including Raw Ethernet
754 QP/DPDK traffic, excluding RDMA traffic.
755 - Informative
756
757 * - `rx_vport_unicast_bytes`
758 - Unicast bytes received, steered to a port including Raw Ethernet QP/DPDK
759 traffic, excluding RDMA traffic.
760 - Informative
761
762 * - `tx_vport_unicast_packets`
763 - Unicast packets transmitted, steered from a port including Raw Ethernet
764 QP/DPDK traffic, excluding RDMA traffic.
765 - Informative
766
767 * - `tx_vport_unicast_bytes`
768 - Unicast bytes transmitted, steered from a port including Raw Ethernet
769 QP/DPDK traffic, excluding RDMA traffic.
770 - Informative
771
772 * - `rx_vport_multicast_packets`
773 - Multicast packets received, steered to a port including Raw Ethernet
774 QP/DPDK traffic, excluding RDMA traffic.
775 - Informative
776
777 * - `rx_vport_multicast_bytes`
778 - Multicast bytes received, steered to a port including Raw Ethernet
779 QP/DPDK traffic, excluding RDMA traffic.
780 - Informative
781
782 * - `tx_vport_multicast_packets`
783 - Multicast packets transmitted, steered from a port including Raw Ethernet
784 QP/DPDK traffic, excluding RDMA traffic.
785 - Informative
786
787 * - `tx_vport_multicast_bytes`
788 - Multicast bytes transmitted, steered from a port including Raw Ethernet
789 QP/DPDK traffic, excluding RDMA traffic.
790 - Informative
791
792 * - `rx_vport_broadcast_packets`
793 - Broadcast packets received, steered to a port including Raw Ethernet
794 QP/DPDK traffic, excluding RDMA traffic.
795 - Informative
796
797 * - `rx_vport_broadcast_bytes`
798 - Broadcast bytes received, steered to a port including Raw Ethernet
799 QP/DPDK traffic, excluding RDMA traffic.
800 - Informative
801
802 * - `tx_vport_broadcast_packets`
803 - Broadcast packets transmitted, steered from a port including Raw Ethernet
804 QP/DPDK traffic, excluding RDMA traffic.
805 - Informative
806
807 * - `tx_vport_broadcast_bytes`
808 - Broadcast bytes transmitted, steered from a port including Raw Ethernet
809 QP/DPDK traffic, excluding RDMA traffic.
810 - Informative
811
812 * - `rx_vport_rdma_unicast_packets`
813 - RDMA unicast packets received, steered to a port (counters counts
814 RoCE/UD/RC traffic) [#accel]_.
815 - Acceleration
816
817 * - `rx_vport_rdma_unicast_bytes`
818 - RDMA unicast bytes received, steered to a port (counters counts
819 RoCE/UD/RC traffic) [#accel]_.
820 - Acceleration
821
822 * - `tx_vport_rdma_unicast_packets`
823 - RDMA unicast packets transmitted, steered from a port (counters counts
824 RoCE/UD/RC traffic) [#accel]_.
825 - Acceleration
826
827 * - `tx_vport_rdma_unicast_bytes`
828 - RDMA unicast bytes transmitted, steered from a port (counters counts
829 RoCE/UD/RC traffic) [#accel]_.
830 - Acceleration
831
832 * - `rx_vport_rdma_multicast_packets`
833 - RDMA multicast packets received, steered to a port (counters counts
834 RoCE/UD/RC traffic) [#accel]_.
835 - Acceleration
836
837 * - `rx_vport_rdma_multicast_bytes`
838 - RDMA multicast bytes received, steered to a port (counters counts
839 RoCE/UD/RC traffic) [#accel]_.
840 - Acceleration
841
842 * - `tx_vport_rdma_multicast_packets`
843 - RDMA multicast packets transmitted, steered from a port (counters counts
844 RoCE/UD/RC traffic) [#accel]_.
845 - Acceleration
846
847 * - `tx_vport_rdma_multicast_bytes`
848 - RDMA multicast bytes transmitted, steered from a port (counters counts
849 RoCE/UD/RC traffic) [#accel]_.
850 - Acceleration
851
852 * - `vport_loopback_packets`
853 - Unicast, multicast and broadcast packets that were loop-back (received
854 and transmitted), IB/Eth [#accel]_.
855 - Acceleration
856
857 * - `vport_loopback_bytes`
858 - Unicast, multicast and broadcast bytes that were loop-back (received
859 and transmitted), IB/Eth [#accel]_.
860 - Acceleration
861
862 * - `rx_steer_missed_packets`
863 - Number of packets that was received by the NIC, however was discarded
864 because it did not match any flow in the NIC flow table.
865 - Error
866
867 * - `rx_packets`
868 - Representor only: packets received, that were handled by the hypervisor.
869 - Informative
870
871 * - `rx_bytes`
872 - Representor only: bytes received, that were handled by the hypervisor.
873 - Informative
874
875 * - `tx_packets`
876 - Representor only: packets transmitted, that were handled by the
877 hypervisor.
878 - Informative
879
880 * - `tx_bytes`
881 - Representor only: bytes transmitted, that were handled by the hypervisor.
882 - Informative
883
884 * - `dev_internal_queue_oob`
885 - The number of dropped packets due to lack of receive WQEs for an internal
886 device RQ.
887 - Error
888
889 Physical Port Counters
890 ----------------------
891 The physical port counters are the counters on the external port connecting the
892 adapter to the network. This measuring point holds information on standardized
893 counters like IEEE 802.3, RFC2863, RFC 2819, RFC 3635 and additional counters
894 like flow control, FEC and more.
895
896 .. flat-table:: Physical Port Counter Table
897 :widths: 2 3 1
898
899 * - Counter
900 - Description
901 - Type
902
903 * - `rx_packets_phy`
904 - The number of packets received on the physical port. This counter doesn’t
905 include packets that were discarded due to FCS, frame size and similar
906 errors.
907 - Informative
908
909 * - `tx_packets_phy`
910 - The number of packets transmitted on the physical port.
911 - Informative
912
913 * - `rx_bytes_phy`
914 - The number of bytes received on the physical port, including Ethernet
915 header and FCS.
916 - Informative
917
918 * - `tx_bytes_phy`
919 - The number of bytes transmitted on the physical port.
920 - Informative
921
922 * - `rx_multicast_phy`
923 - The number of multicast packets received on the physical port.
924 - Informative
925
926 * - `tx_multicast_phy`
927 - The number of multicast packets transmitted on the physical port.
928 - Informative
929
930 * - `rx_broadcast_phy`
931 - The number of broadcast packets received on the physical port.
932 - Informative
933
934 * - `tx_broadcast_phy`
935 - The number of broadcast packets transmitted on the physical port.
936 - Informative
937
938 * - `rx_crc_errors_phy`
939 - The number of dropped received packets due to FCS (Frame Check Sequence)
940 error on the physical port. If this counter is increased in high rate,
941 check the link quality using `rx_symbol_error_phy` and
942 `rx_corrected_bits_phy` counters below.
943 - Error
944
945 * - `rx_in_range_len_errors_phy`
946 - The number of received packets dropped due to length/type errors on a
947 physical port.
948 - Error
949
950 * - `rx_out_of_range_len_phy`
951 - The number of received packets dropped due to length greater than allowed
952 on a physical port. If this counter is increasing, it implies that the
953 peer connected to the adapter has a larger MTU configured. Using same MTU
954 configuration shall resolve this issue.
955 - Error
956
957 * - `rx_oversize_pkts_phy`
958 - The number of dropped received packets due to length which exceed MTU
959 size on a physical port. If this counter is increasing, it implies that
960 the peer connected to the adapter has a larger MTU configured. Using same
961 MTU configuration shall resolve this issue.
962 - Error
963
964 * - `rx_symbol_err_phy`
965 - The number of received packets dropped due to physical coding errors
966 (symbol errors) on a physical port.
967 - Error
968
969 * - `rx_mac_control_phy`
970 - The number of MAC control packets received on the physical port.
971 - Informative
972
973 * - `tx_mac_control_phy`
974 - The number of MAC control packets transmitted on the physical port.
975 - Informative
976
977 * - `rx_pause_ctrl_phy`
978 - The number of link layer pause packets received on a physical port. If
979 this counter is increasing, it implies that the network is congested and
980 cannot absorb the traffic coming from to the adapter.
981 - Informative
982
983 * - `tx_pause_ctrl_phy`
984 - The number of link layer pause packets transmitted on a physical port. If
985 this counter is increasing, it implies that the NIC is congested and
986 cannot absorb the traffic coming from the network.
987 - Informative
988
989 * - `rx_unsupported_op_phy`
990 - The number of MAC control packets received with unsupported opcode on a
991 physical port.
992 - Error
993
994 * - `rx_discards_phy`
995 - The number of received packets dropped due to lack of buffers on a
996 physical port. If this counter is increasing, it implies that the adapter
997 is congested and cannot absorb the traffic coming from the network.
998 - Error
999
1000 * - `tx_discards_phy`
1001 - The number of packets which were discarded on transmission, even no
1002 errors were detected. the drop might occur due to link in down state,
1003 head of line drop, pause from the network, etc.
1004 - Error
1006 * - `tx_errors_phy`
1007 - The number of transmitted packets dropped due to a length which exceed
1008 MTU size on a physical port.
1009 - Error
1011 * - `rx_undersize_pkts_phy`
1012 - The number of received packets dropped due to length which is shorter
1013 than 64 bytes on a physical port. If this counter is increasing, it
1014 implies that the peer connected to the adapter has a non-standard MTU
1015 configured or malformed packet had arrived.
1016 - Error
1018 * - `rx_fragments_phy`
1019 - The number of received packets dropped due to a length which is shorter
1020 than 64 bytes and has FCS error on a physical port. If this counter is
1021 increasing, it implies that the peer connected to the adapter has a
1022 non-standard MTU configured.
1023 - Error
1025 * - `rx_jabbers_phy`
1026 - The number of received packets d due to a length which is longer than 64
1027 bytes and had FCS error on a physical port.
1028 - Error
1030 * - `rx_64_bytes_phy`
1031 - The number of packets received on the physical port with size of 64 bytes.
1032 - Informative
1034 * - `rx_65_to_127_bytes_phy`
1035 - The number of packets received on the physical port with size of 65 to
1036 127 bytes.
1037 - Informative
1039 * - `rx_128_to_255_bytes_phy`
1040 - The number of packets received on the physical port with size of 128 to
1041 255 bytes.
1042 - Informative
1044 * - `rx_256_to_511_bytes_phy`
1045 - The number of packets received on the physical port with size of 256 to
1046 512 bytes.
1047 - Informative
1049 * - `rx_512_to_1023_bytes_phy`
1050 - The number of packets received on the physical port with size of 512 to
1051 1023 bytes.
1052 - Informative
1054 * - `rx_1024_to_1518_bytes_phy`
1055 - The number of packets received on the physical port with size of 1024 to
1056 1518 bytes.
1057 - Informative
1059 * - `rx_1519_to_2047_bytes_phy`
1060 - The number of packets received on the physical port with size of 1519 to
1061 2047 bytes.
1062 - Informative
1064 * - `rx_2048_to_4095_bytes_phy`
1065 - The number of packets received on the physical port with size of 2048 to
1066 4095 bytes.
1067 - Informative
1069 * - `rx_4096_to_8191_bytes_phy`
1070 - The number of packets received on the physical port with size of 4096 to
1071 8191 bytes.
1072 - Informative
1074 * - `rx_8192_to_10239_bytes_phy`
1075 - The number of packets received on the physical port with size of 8192 to
1076 10239 bytes.
1077 - Informative
1079 * - `link_down_events_phy`
1080 - The number of times where the link operative state changed to down. In
1081 case this counter is increasing it may imply on port flapping. You may
1082 need to replace the cable/transceiver.
1083 - Error
1085 * - `total_success_recovery_phy`
1086 - The number of total successful recovery events of any type during
1087 ports reset cycle.
1088 - Error
1090 * - `rx_out_of_buffer`
1091 - Number of times receive queue had no software buffers allocated for the
1092 adapter's incoming traffic.
1093 - Error
1095 * - `module_bus_stuck`
1096 - The number of times that module's I\ :sup:`2`\C bus (data or clock)
1097 short-wire was detected. You may need to replace the cable/transceiver.
1098 - Error
1100 * - `module_high_temp`
1101 - The number of times that the module temperature was too high. If this
1102 issue persist, you may need to check the ambient temperature or replace
1103 the cable/transceiver module.
1104 - Error
1106 * - `module_bad_shorted`
1107 - The number of times that the module cables were shorted. You may need to
1108 replace the cable/transceiver module.
1109 - Error
1111 * - `module_unplug`
1112 - The number of times that module was ejected.
1113 - Informative
1115 * - `rx_buffer_passed_thres_phy`
1116 - The number of events where the port receive buffer was over 85% full.
1117 - Informative
1119 * - `tx_pause_storm_warning_events`
1120 - The number of times the device was sending pauses for a long period of
1121 time.
1122 - Informative
1124 * - `tx_pause_storm_error_events`
1125 - The number of times the device was sending pauses for a long period of
1126 time, reaching time out and disabling transmission of pause frames. on
1127 the period where pause frames were disabled, drop could have been
1128 occurred.
1129 - Error
1131 * - `rx[i]_buff_alloc_err`
1132 - Failed to allocate a buffer to received packet (or SKB) on ring i.
1133 - Error
1135 * - `rx_bits_phy`
1136 - This counter provides information on the total amount of traffic that
1137 could have been received and can be used as a guideline to measure the
1138 ratio of errored traffic in `rx_pcs_symbol_err_phy` and
1139 `rx_corrected_bits_phy`.
1140 - Informative
1142 * - `rx_pcs_symbol_err_phy`
1143 - This counter counts the number of symbol errors that wasn’t corrected by
1144 FEC correction algorithm or that FEC algorithm was not active on this
1145 interface. If this counter is increasing, it implies that the link
1146 between the NIC and the network is suffering from high BER, and that
1147 traffic is lost. You may need to replace the cable/transceiver. The error
1148 rate is the number of `rx_pcs_symbol_err_phy` divided by the number of
1149 `rx_bits_phy` on a specific time frame.
1150 - Error
1152 * - `rx_corrected_bits_phy`
1153 - The number of corrected bits on this port according to active FEC
1154 (RS/FC). If this counter is increasing, it implies that the link between
1155 the NIC and the network is suffering from high BER. The corrected bit
1156 rate is the number of `rx_corrected_bits_phy` divided by the number of
1157 `rx_bits_phy` on a specific time frame.
1158 - Error
1160 * - `rx_err_lane_[l]_phy`
1161 - This counter counts the number of physical raw errors per lane l index.
1162 The counter counts errors before FEC corrections. If this counter is
1163 increasing, it implies that the link between the NIC and the network is
1164 suffering from high BER, and that traffic might be lost. You may need to
1165 replace the cable/transceiver. Please check in accordance with
1166 `rx_corrected_bits_phy`.
1167 - Error
1169 * - `rx_global_pause`
1170 - The number of pause packets received on the physical port. If this
1171 counter is increasing, it implies that the network is congested and
1172 cannot absorb the traffic coming from the adapter. Note: This counter is
1173 only enabled when global pause mode is enabled.
1174 - Informative
1176 * - `rx_global_pause_duration`
1177 - The duration of pause received (in microSec) on the physical port. The
1178 counter represents the time the port did not send any traffic. If this
1179 counter is increasing, it implies that the network is congested and
1180 cannot absorb the traffic coming from the adapter. Note: This counter is
1181 only enabled when global pause mode is enabled.
1182 - Informative
1184 * - `tx_global_pause`
1185 - The number of pause packets transmitted on a physical port. If this
1186 counter is increasing, it implies that the adapter is congested and
1187 cannot absorb the traffic coming from the network. Note: This counter is
1188 only enabled when global pause mode is enabled.
1189 - Informative
1191 * - `tx_global_pause_duration`
1192 - The duration of pause transmitter (in microSec) on the physical port.
1193 Note: This counter is only enabled when global pause mode is enabled.
1194 - Informative
1196 * - `rx_global_pause_transition`
1197 - The number of times a transition from Xoff to Xon on the physical port
1198 has occurred. Note: This counter is only enabled when global pause mode
1199 is enabled.
1200 - Informative
1202 * - `rx_if_down_packets`
1203 - The number of received packets that were dropped due to interface down.
1204 - Informative
1206 Priority Port Counters
1207 ----------------------
1208 The following counters are physical port counters that are counted per L2
1209 priority (0-7).
1211 **Note:** `p` in the counter name represents the priority.
1213 .. flat-table:: Priority Port Counter Table
1214 :widths: 2 3 1
1216 * - Counter
1217 - Description
1218 - Type
1220 * - `rx_prio[p]_bytes`
1221 - The number of bytes received with priority p on the physical port.
1222 - Informative
1224 * - `rx_prio[p]_packets`
1225 - The number of packets received with priority p on the physical port.
1226 - Informative
1228 * - `tx_prio[p]_bytes`
1229 - The number of bytes transmitted on priority p on the physical port.
1230 - Informative
1232 * - `tx_prio[p]_packets`
1233 - The number of packets transmitted on priority p on the physical port.
1234 - Informative
1236 * - `rx_prio[p]_pause`
1237 - The number of pause packets received with priority p on a physical port.
1238 If this counter is increasing, it implies that the network is congested
1239 and cannot absorb the traffic coming from the adapter. Note: This counter
1240 is available only if PFC was enabled on priority p.
1241 - Informative
1243 * - `rx_prio[p]_pause_duration`
1244 - The duration of pause received (in microSec) on priority p on the
1245 physical port. The counter represents the time the port did not send any
1246 traffic on this priority. If this counter is increasing, it implies that
1247 the network is congested and cannot absorb the traffic coming from the
1248 adapter. Note: This counter is available only if PFC was enabled on
1249 priority p.
1250 - Informative
1252 * - `rx_prio[p]_pause_transition`
1253 - The number of times a transition from Xoff to Xon on priority p on the
1254 physical port has occurred. Note: This counter is available only if PFC
1255 was enabled on priority p.
1256 - Informative
1258 * - `tx_prio[p]_pause`
1259 - The number of pause packets transmitted on priority p on a physical port.
1260 If this counter is increasing, it implies that the adapter is congested
1261 and cannot absorb the traffic coming from the network. Note: This counter
1262 is available only if PFC was enabled on priority p.
1263 - Informative
1265 * - `tx_prio[p]_pause_duration`
1266 - The duration of pause transmitter (in microSec) on priority p on the
1267 physical port. Note: This counter is available only if PFC was enabled on
1268 priority p.
1269 - Informative
1271 * - `rx_prio[p]_buf_discard`
1272 - The number of packets discarded by device due to lack of per host receive
1273 buffers.
1274 - Informative
1276 * - `rx_prio[p]_cong_discard`
1277 - The number of packets discarded by device due to per host congestion.
1278 - Informative
1280 * - `rx_prio[p]_marked`
1281 - The number of packets ecn marked by device due to per host congestion.
1282 - Informative
1284 * - `rx_prio[p]_discards`
1285 - The number of packets discarded by device due to lack of receive buffers.
1286 - Informative
1288 Device Counters
1289 ---------------
1290 .. flat-table:: Device Counter Table
1291 :widths: 2 3 1
1293 * - Counter
1294 - Description
1295 - Type
1297 * - `rx_pci_signal_integrity`
1298 - Counts physical layer PCIe signal integrity errors, the number of
1299 transitions to recovery due to Framing errors and CRC (dlp and tlp). If
1300 this counter is raising, try moving the adapter card to a different slot
1301 to rule out a bad PCI slot. Validate that you are running with the latest
1302 firmware available and latest server BIOS version.
1303 - Error
1305 * - `tx_pci_signal_integrity`
1306 - Counts physical layer PCIe signal integrity errors, the number of
1307 transition to recovery initiated by the other side (moving to recovery
1308 due to getting TS/EIEOS). If this counter is raising, try moving the
1309 adapter card to a different slot to rule out a bad PCI slot. Validate
1310 that you are running with the latest firmware available and latest server
1311 BIOS version.
1312 - Error
1314 * - `outbound_pci_buffer_overflow`
1315 - The number of packets dropped due to pci buffer overflow. If this counter
1316 is raising in high rate, it might indicate that the receive traffic rate
1317 for a host is larger than the PCIe bus and therefore a congestion occurs.
1318 - Informative
1320 * - `outbound_pci_stalled_rd`
1321 - The percentage (in the range 0...100) of time within the last second that
1322 the NIC had outbound non-posted reads requests but could not perform the
1323 operation due to insufficient posted credits.
1324 - Informative
1326 * - `outbound_pci_stalled_wr`
1327 - The percentage (in the range 0...100) of time within the last second that
1328 the NIC had outbound posted writes requests but could not perform the
1329 operation due to insufficient posted credits.
1330 - Informative
1332 * - `outbound_pci_stalled_rd_events`
1333 - The number of seconds where `outbound_pci_stalled_rd` was above 30%.
1334 - Informative
1336 * - `outbound_pci_stalled_wr_events`
1337 - The number of seconds where `outbound_pci_stalled_wr` was above 30%.
1338 - Informative
1340 * - `dev_out_of_buffer`
1341 - The number of times the device owned queue had not enough buffers
1342 allocated.
1343 - Error
1345 * - `pci_bw_inbound_high`
1346 - The number of times the device crossed the high inbound pcie bandwidth
1347 threshold. To be compared to pci_bw_inbound_low to check if the device
1348 is in a congested state.
1349 If pci_bw_inbound_high == pci_bw_inbound_low then the device is not congested.
1350 If pci_bw_inbound_high > pci_bw_inbound_low then the device is congested.
1351 - Informative
1353 * - `pci_bw_inbound_low`
1354 - The number of times the device crossed the low inbound PCIe bandwidth
1355 threshold. To be compared to pci_bw_inbound_high to check if the device
1356 is in a congested state.
1357 If pci_bw_inbound_high == pci_bw_inbound_low then the device is not congested.
1358 If pci_bw_inbound_high > pci_bw_inbound_low then the device is congested.
1359 - Informative
1361 * - `pci_bw_outbound_high`
1362 - The number of times the device crossed the high outbound pcie bandwidth
1363 threshold. To be compared to pci_bw_outbound_low to check if the device
1364 is in a congested state.
1365 If pci_bw_outbound_high == pci_bw_outbound_low then the device is not congested.
1366 If pci_bw_outbound_high > pci_bw_outbound_low then the device is congested.
1367 - Informative
1369 * - `pci_bw_outbound_low`
1370 - The number of times the device crossed the low outbound PCIe bandwidth
1371 threshold. To be compared to pci_bw_outbound_high to check if the device
1372 is in a congested state.
1373 If pci_bw_outbound_high == pci_bw_outbound_low then the device is not congested.
1374 If pci_bw_outbound_high > pci_bw_outbound_low then the device is congested.
1375 - Informative
1377 * - `pci_bw_stale_event`
1378 - The number of times the device fired a PCIe congestion event but on query
1379 there was no change in state.
1380 - Informative

3. 한국어 전문 번역

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

개요, 카운터 그룹과 유형

1-136

이 문서는 `GPL-2.0 OR Linux-OpenIB` 이중 라이선스를 따릅니다.

Ethtool 카운터

Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

개요

이 문서는 `mlx5` 드라이버가 제공하는 ethtool 카운터를 설명합니다. 카운터는 관측 지점과 범위에 따라 링, netdev, vPort, 물리 포트, 우선순위 포트, 장치 그룹으로 나뉩니다.

mlx5 카운터 관측 지점
VM / HypervisorEthernet 또는 RDMA 드라이버PF / VFeSwitch vPortUplinkMPFS물리 포트
링 / netdevvPort 카운터물리·우선순위 포트 카운터장치 카운터

가상 머신의 PF/VF 트래픽이 eSwitch와 업링크를 지나 물리 포트에 도달하는 경로를 구조화했습니다.

카운터 그룹

  • 링 카운터: 드라이버가 소프트웨어에서 관리하는 각 RX/TX 링의 통계입니다.
  • netdev 카운터: 링 카운터를 소프트웨어 포트 단위로 합산한 통계입니다.
  • vPort 카운터: eSwitch에 연결된 NIC 포트의 트래픽, 조향 실패, 버퍼 부족 드롭을 셉니다. Ethernet, Raw Ethernet QP/DPDK와 RDMA/RoCE 트래픽을 구분합니다.
  • 물리 포트 카운터: 외부 네트워크에 연결된 물리 포트의 표준 IEEE 802.3, RFC 2863, RFC 2819, RFC 3635 통계와 flow control, FEC 진단을 제공합니다. VM에는 노출되지 않습니다.
  • 우선순위 포트 카운터: 물리 포트 카운터 일부를 L2 우선순위 0~7별로 제공합니다.
  • 장치 카운터: PCIe 신호 무결성, 대역폭 혼잡과 장치 내부 버퍼 상태를 제공합니다.

카운터 유형

  • 정보(Informative): 일반 동작량과 상태를 나타냅니다.
  • 가속(Acceleration): NIC가 가속한 트래픽을 셉니다. 같은 트래픽이 표준 카운터에도 포함되므로 두 번 집계됩니다.
  • 오류(Error): 패킷 손실, 복구, 자원 부족 또는 하드웨어 이상을 나타냅니다.

카운터 조회

ip -s link show <if-name>
ethtool -S <if-name>

XSK, PTP, QoS 카운터 가운데 기존 카운터와 의미가 같은 대응 항목은 표에 별도로 반복하지 않습니다. 예를 들어 `ptp_tx[i]_packets`는 정밀 시간 프로토콜을 사용할 때만 집계됩니다.

링 / netdev 카운터

아래 이름은 링과 소프트웨어 포트 카운터를 함께 나타냅니다. 링 이름의 `[i]`는 실제 출력에서 괄호 없이 인덱스로 바뀌고, 포트 이름에서는 `[i]`가 빠집니다. 따라서 `rx[i]_packets`는 링 0에서 `rx0_packets`, 소프트웨어 포트에서 `rx_packets`로 출력됩니다.

.. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
.. include:: <isonum.txt>

================
Ethtool counters
================

:Copyright: |copy| 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

Contents
========

- `Overview`_
- `Groups`_
- `Types`_
- `Descriptions`_

Overview
========

There are several counter groups based on where the counter is being counted. In
addition, each group of counters may have different counter types.

These counter groups are based on which component in a networking setup,
illustrated below, that they describe::

                                                  ----------------------------------------
                                                  |                                      |
    ----------------------------------------    ---------------------------------------- |
    |              Hypervisor              |    |                  VM                  | |
    |                                      |    |                                      | |
    | -------------------  --------------- |    | -------------------  --------------- | |
    | | Ethernet driver |  | RDMA driver | |    | | Ethernet driver |  | RDMA driver | | |
    | -------------------  --------------- |    | -------------------  --------------- | |
    |           |                 |        |    |           |                 |        | |
    |           -------------------        |    |           -------------------        | |
    |                   |                  |    |                   |                  |--
    ----------------------------------------    ----------------------------------------
                        |                                           |
            -------------               -----------------------------
            |                           |
         ------                      ------ ------ ------         ------      ------      ------
    -----| PF |----------------------| VF |-| VF |-| VF |-----  --| PF |--- --| PF |--- --| PF |---
    |    ------                      ------ ------ ------    |  | ------  | | ------  | | ------  |
    |                                                        |  |         | |         | |         |
    |                                                        |  |         | |         | |         |
    |                                                        |  |         | |         | |         |
    | eSwitch                                                |  | eSwitch | | eSwitch | | eSwitch |
    ----------------------------------------------------------  ----------- ----------- -----------
               -------------------------------------------------------------------------------
               |                                                                             |
               |                                                                             |
               | Uplink (no counters)                                                        |
               -------------------------------------------------------------------------------
                       ---------------------------------------------------------------
                       |                                                             |
                       |                                                             |
                       | MPFS (no counters)                                          |
                       ---------------------------------------------------------------
                                                     |
                                                     |
                                                     | Port

Groups
======

Ring
  Software counters populated by the driver stack.

Netdev
  An aggregation of software ring counters.

vPort counters
  Traffic counters and drops due to steering or no buffers. May indicate issues
  with NIC. These counters include Ethernet traffic counters (including Raw
  Ethernet) and RDMA/RoCE traffic counters.

Physical port counters
  Counters that collect statistics about the PFs and VFs. May indicate issues
  with NIC, link, or network. This measuring point holds information on
  standardized counters like IEEE 802.3, RFC2863, RFC 2819, RFC 3635 and
  additional counters like flow control, FEC and more. Physical port counters
  are not exposed to virtual machines.

Priority Port Counters
  A set of the physical port counters, per priority per port.

Types
=====

Counters are divided into three types.

Traffic Informative Counters
  Counters which count traffic. These counters can be used for load estimation
  or for general debug.

Traffic Acceleration Counters
  Counters which count traffic that was accelerated by Mellanox driver or by
  hardware. The counters are an additional layer to the informative counter set,
  and the same traffic is counted in both informative and acceleration counters.

.. [#accel] Traffic acceleration counter.

Error Counters
  Increment of these counters might indicate a problem. Each of these counters
  has an explanation and correction action.

Statistic can be fetched via the `ip link` or `ethtool` commands. `ethtool`
provides more detailed information.::

    ip –s link show <if-name>
    ethtool -S <if-name>

Descriptions
============

XSK, PTP, and QoS counters that are similar to counters defined previously will
not be separately listed. For example, `ptp_tx[i]_packets` will not be
explicitly documented since `tx[i]_packets` describes the behavior of both
counters, except `ptp_tx[i]_packets` is only counted when precision time
protocol is used.

Ring / Netdev Counter
----------------------------
The following counters are available per ring or software port.

These counters provide information on the amount of traffic that was accelerated
by the NIC. The counters are counting the accelerated traffic in addition to the
standard counters which counts it (i.e. accelerated traffic is counted twice).

The counter names in the table below refers to both ring and port counters. The
notation for ring counters includes the [i] index without the braces. The
notation for port counters doesn't include the [i]. A counter name
`rx[i]_packets` will be printed as `rx0_packets` for ring 0 and `rx_packets` for
the software port.

링 및 소프트웨어 포트 카운터

137-740

가속 카운터는 NIC가 가속한 양을 보여 주며 동일 트래픽을 세는 표준 카운터와 함께 증가합니다. 아래 표는 링 인덱스 표기와 소프트웨어 포트 전역 표기를 모두 보존합니다.

링 / 소프트웨어 포트 카운터
카운터설명유형
rx[i]_packets링 i에서 수신한 패킷 수입니다.정보
rx[i]_bytes링 i에서 수신한 바이트 수입니다.정보
tx[i]_packets링 i에서 송신한 패킷 수입니다.정보
tx[i]_bytes링 i에서 송신한 바이트 수입니다.정보
tx[i]_recoverSQ가 복구된 횟수입니다.오류
tx[i]_cqes링 i의 SQ에서 발생한 CQE 이벤트 수입니다.정보
tx[i]_cqe_err링 i의 SQ에서 만난 오류 CQE 수입니다.오류
tx[i]_tso_packets링 i에서 송신한 TSO 패킷 수입니다. 이 트래픽은 표준 카운터에도 더해집니다.가속
tx[i]_tso_bytes링 i에서 송신한 TSO 바이트 수입니다. 이 트래픽은 표준 카운터에도 더해집니다.가속
tx[i]_tso_inner_packets내부 캡슐화를 운반한다고 표시되어 링 i에서 송신된 TSO 패킷 수입니다.가속
tx[i]_tso_inner_bytes내부 캡슐화를 운반한다고 표시되어 링 i에서 송신된 TSO 바이트 수입니다.가속
rx[i]_gro_packets링 i에서 하드웨어 GRO로 결합한 패킷 수입니다.가속
rx[i]_gro_bytes링 i에서 하드웨어 GRO로 결합한 바이트 수입니다.가속
rx[i]_gro_skbs링 i에서 하드웨어 GRO로 만든 SKB 수입니다.정보
rx[i]_gro_large_hds링 i에서 하드웨어 GRO로 결합한 대형 헤더 수입니다.정보
rx[i]_hds_nodata_packets링 i에서 헤더-데이터 분리 결과 데이터가 없었던 패킷 수입니다.정보
rx[i]_hds_nodata_bytes링 i에서 헤더-데이터 분리 결과 데이터가 없었던 바이트 수입니다.정보
rx[i]_hds_nosplit_packets링 i에서 헤더와 데이터를 분리하지 않은 패킷 수입니다.정보
rx[i]_hds_nosplit_bytes링 i에서 헤더와 데이터를 분리하지 않은 바이트 수입니다.정보
rx[i]_lro_packets링 i에서 하드웨어 LRO로 결합한 패킷 수입니다.가속
rx[i]_lro_bytes링 i에서 하드웨어 LRO로 결합한 바이트 수입니다.가속
rx[i]_ecn_mark링 i에서 ECN이 표시된 수신 패킷 수입니다.정보
rx_oversize_pkts_buffer하드웨어 수신 버퍼가 감당할 수 있는 크기보다 큰 패킷 수입니다.오류
rx_oversize_pkts_sw_drop소프트웨어가 MTU보다 크다고 판단하여 버린 수신 패킷 수입니다.오류
rx[i]_csum_unnecessary링 i에서 체크섬 검증이 불필요하다고 판정한 수신 패킷 수입니다.가속
rx[i]_csum_unnecessary_inner링 i에서 내부 캡슐화 체크섬 검증이 불필요하다고 판정한 수신 패킷 수입니다.가속
rx[i]_csum_none링 i에서 체크섬 오프로딩을 적용하지 못한 수신 패킷 수입니다.가속
rx[i]_csum_complete링 i에서 완전 체크섬으로 처리한 수신 패킷 수입니다.가속
rx[i]_csum_complete_tail링 i에서 패킷 꼬리까지 완전 체크섬을 계산한 수신 패킷 수입니다.정보
rx[i]_csum_complete_tail_slow링 i에서 느린 경로로 패킷 꼬리까지 완전 체크섬을 계산한 수신 패킷 수입니다.정보
tx[i]_csum_partial링 i에서 부분 체크섬 오프로딩으로 송신한 패킷 수입니다.가속
tx[i]_csum_partial_inner링 i에서 내부 캡슐화 부분 체크섬 오프로딩으로 송신한 패킷 수입니다.가속
tx[i]_csum_none링 i에서 체크섬 오프로딩 없이 송신한 패킷 수입니다.정보
tx[i]_stopped / tx_queue_stopped [#ring_global]_송신 큐 공간이 부족해 netdev 큐를 멈춘 횟수입니다. 링 카운터와 전역 카운터의 이름이 서로 다릅니다.정보
tx[i]_wake / tx_queue_wake [#ring_global]_공간을 확보해 멈췄던 netdev 송신 큐를 다시 깨운 횟수입니다. 링 카운터와 전역 카운터의 이름이 서로 다릅니다.정보
tx[i]_dropped / tx_queue_dropped [#ring_global]_송신 큐에 WQE를 게시할 수 없어 버린 패킷 수입니다. 링 카운터와 전역 카운터의 이름이 서로 다릅니다.오류
tx[i]_nop순환 SQ 경계 정렬 등을 위해 링 i에 게시한 NOP WQE 수입니다.정보
tx[i]_timestamps링 i에서 요청한 송신 하드웨어 타임스탬프 수입니다.정보
tx[i]_added_vlan_packets링 i에서 드라이버가 VLAN 태그를 삽입해 송신한 패킷 수입니다.가속
rx[i]_removed_vlan_packets링 i에서 드라이버가 VLAN 태그를 제거한 수신 패킷 수입니다.가속
rx[i]_wqe_err링 i의 RQ에서 만난 오류 WQE 수입니다.오류
rx[i]_mpwqe_frag연속 복합 페이지를 얻지 못해 조각난 페이지로 구성한 MPWQE 수입니다.정보
rx[i]_mpwqe_filler_cqesMPWQE에서 실제 패킷을 담지 않은 채 CQE를 채우기 위해 사용한 filler CQE 수입니다.정보
rx[i]_mpwqe_filler_stridesMPWQE에서 실제 패킷을 담지 않은 filler stride 수입니다.정보
tx[i]_mpwqe_blks송신 MPWQE 블록 수입니다.정보
tx[i]_mpwqe_pkts송신 MPWQE가 운반한 패킷 수입니다.정보
rx[i]_cqe_compress_blks링 i에서 압축 CQE 블록을 처리한 수입니다.가속
rx[i]_cqe_compress_pkts링 i에서 압축 CQE로 처리한 패킷 수입니다.가속
rx[i]_arfs_addaRFS가 하드웨어 흐름 규칙 추가를 요청한 횟수입니다.가속
rx[i]_arfs_request_inaRFS 요청이 드라이버에 들어온 횟수입니다.가속
rx[i]_arfs_request_outaRFS 요청이 하드웨어 규칙으로 나간 횟수입니다.가속
rx[i]_arfs_expired만료되어 제거된 aRFS 규칙 수입니다.가속
rx[i]_arfs_erraRFS 규칙을 추가하지 못한 오류 수입니다.오류
rx[i]_recoverRQ가 오류에서 복구된 횟수입니다.오류
tx[i]_xmit_more드라이버가 `xmit_more` 힌트를 받아 송신 도어벨을 모아 울린 횟수입니다.가속
ch[i]_poll채널 i의 NAPI poll 호출 수입니다.정보
ch[i]_arm채널 i의 CQ를 다시 arm한 횟수입니다.정보
ch[i]_aff_change채널 i의 IRQ CPU affinity가 바뀐 횟수입니다.정보
ch[i]_events채널 i에서 처리한 인터럽트 이벤트 수입니다.정보
ch[i]_eq_rearm채널 i의 EQ를 다시 arm한 횟수입니다.오류
ch[i]_force_irq채널 i에서 강제로 IRQ를 발생시킨 횟수입니다.가속
rx[i]_congst_umr혼잡 때문에 UMR 작업을 게시하지 못한 횟수입니다.정보
rx_pp_alloc_fast페이지 풀의 빠른 경로에서 성공한 페이지 할당 수입니다.정보
rx_pp_alloc_slow페이지 풀의 느린 경로에서 성공한 페이지 할당 수입니다.정보
rx_pp_alloc_slow_high_order페이지 풀의 느린 경로에서 고차 페이지를 할당한 수입니다.정보
rx_pp_alloc_empty페이지 풀에서 빈 할당을 반환한 횟수입니다.정보
rx_pp_alloc_refill페이지 풀을 다시 채운 횟수입니다.정보
rx_pp_alloc_waive페이지 풀 할당을 포기한 횟수입니다.정보
rx_pp_recycle_cached페이지 풀 캐시에서 재활용한 페이지 수입니다.정보
rx_pp_recycle_cache_full페이지 풀 캐시가 가득 차 캐시에 넣지 못한 페이지 수입니다.정보
rx_pp_recycle_ring페이지 풀 재활용 링으로 돌려보낸 페이지 수입니다.정보
rx_pp_recycle_ring_full페이지 풀 재활용 링이 가득 찬 횟수입니다.정보
rx_pp_recycle_released_ref참조가 남아 있어 페이지 풀로 즉시 재활용하지 못한 페이지 수입니다.정보
rx[i]_xsk_buff_alloc_errAF_XDP 소켓용 버퍼를 할당하지 못한 횟수입니다.오류
rx[i]_xdp_tx_xmitXDP_TX 동작으로 송신한 패킷 수입니다.정보
rx[i]_xdp_tx_mpwqeXDP_TX에서 다중 패킷 WQE로 송신한 패킷 수입니다.가속
rx[i]_xdp_tx_inlnwXDP_TX에서 WQE 인라인 데이터로 송신한 패킷 수입니다.가속
rx[i]_xdp_tx_nopsXDP_TX SQ에 게시한 NOP WQE 수입니다.가속
rx[i]_xdp_tx_fullXDP_TX SQ가 가득 차 송신하지 못한 패킷 수입니다.오류
rx[i]_xdp_tx_errXDP_TX 처리 중 발생한 오류 수입니다.오류
rx[i]_xdp_tx_cqes / rx_xdp_tx_cqe [#ring_global]_XDP_TX 완료 큐에서 처리한 CQE 수입니다. 링 카운터와 전역 카운터의 이름이 서로 다릅니다.정보
rx[i]_xdp_dropXDP 프로그램이 XDP_DROP으로 버린 패킷 수입니다.정보
rx[i]_xdp_redirectXDP 프로그램이 XDP_REDIRECT로 넘긴 패킷 수입니다.가속
tx[i]_xdp_xmit다른 netdev에서 XDP_REDIRECT로 이 송신 링에 들어와 송신된 패킷 수입니다.정보
tx[i]_xdp_fullXDP 송신 SQ가 가득 차 처리하지 못한 패킷 수입니다.정보
tx[i]_xdp_mpwqeXDP 송신에서 다중 패킷 WQE로 처리한 패킷 수입니다.가속
tx[i]_xdp_inlnwXDP 송신에서 WQE 인라인 데이터로 처리한 패킷 수입니다.가속
tx[i]_xdp_nopsXDP 송신 SQ에 게시한 NOP WQE 수입니다.가속
tx[i]_xdp_errXDP 송신 중 발생한 오류 수입니다.오류
tx[i]_xdp_cqesXDP 송신 완료 큐에서 처리한 CQE 수입니다.정보
tx[i]_xsk_xmitAF_XDP 제로카피로 송신한 패킷 수입니다.가속
tx[i]_xsk_mpwqe다른 netdev의 XDP_REDIRECT 트래픽을 포함해 AF_XDP 제로카피에서 다중 패킷 WQE로 오프로딩한 패킷 수입니다.가속
tx[i]_xsk_inlnwAF_XDP 제로카피에서 WQE 인라인 데이터 세그먼트로 송신한 수입니다.가속
tx[i]_xsk_fullAF_XDP 제로카피 SQ가 가득 차 도어벨을 울린 횟수입니다.오류
tx[i]_xsk_err데이터가 MTU보다 큰 경우처럼 AF_XDP 제로카피 송신에서 발생한 오류 수입니다.오류
tx[i]_xsk_cqesAF_XDP 제로카피 완료 큐에서 처리한 CQE 수입니다.가속
tx_tls_ctx송신 암호화를 위해 추가한 TLS 하드웨어 오프로딩 컨텍스트 수입니다.가속
tx_tls_del연결 종료로 제거한 TLS 송신 컨텍스트 수입니다.가속
tx_tls_pool_allocTLS 하드웨어 오프로딩 풀에서 작업 단위를 성공적으로 할당한 수입니다.가속
tx_tls_pool_freeTLS 하드웨어 오프로딩 풀로 반환한 작업 단위 수입니다.가속
rx_tls_ctx수신 복호화를 위해 추가한 TLS 하드웨어 오프로딩 컨텍스트 수입니다.가속
rx_tls_del연결 종료로 제거한 TLS 수신 컨텍스트 수입니다.가속
rx[i]_tls_decrypted_packetsTLS 스트림에서 성공적으로 복호화한 수신 패킷 수입니다.가속
rx[i]_tls_decrypted_bytesTLS 스트림에서 성공적으로 복호화한 수신 페이로드 바이트 수입니다.가속
rx[i]_tls_resync_req_pkt재동기화 요청과 함께 수신한 TLS 패킷 수입니다.가속
rx[i]_tls_resync_req_start비동기 TLS 수신 재동기화를 시작한 횟수입니다.가속
rx[i]_tls_resync_req_end비동기 재동기화가 정상 종료되어 하드웨어가 추적한 TCP 시퀀스 번호를 받은 횟수입니다.가속
rx[i]_tls_resync_req_skip재동기화를 시작했지만 정상 종료하지 못한 횟수입니다.오류
rx[i]_tls_resync_res_ok드라이버가 재동기화 응답을 성공적으로 처리한 횟수입니다.가속
rx[i]_tls_resync_res_retryICOSQ가 가득 차 재동기화 응답을 재시도한 횟수입니다.오류
rx[i]_tls_resync_res_skip재동기화 응답을 성공시키지 못하고 끝낸 횟수입니다.오류
rx[i]_tls_errTLS 오프로딩에서 문제 있는 CQE를 받은 횟수입니다.오류
tx[i]_tls_encrypted_packets커널이 TLS로 암호화해 송신한 패킷 수입니다.가속
tx[i]_tls_encrypted_bytes커널이 TLS로 암호화해 송신한 바이트 수입니다.가속
tx[i]_tls_ooo순서가 어긋난 TLS SQE 조각을 처리한 수입니다.가속
tx[i]_tls_dump_packetsNIC에서 DMA로 복사한 TLS 복호화 패킷 수입니다.가속
tx[i]_tls_dump_bytesNIC에서 DMA로 복사한 TLS 복호화 바이트 수입니다.가속
tx[i]_tls_resync_bytes복호화 재동기화를 요청한 TLS 바이트 수입니다.가속
tx[i]_tls_skip_no_sync_data복호화할 필요가 없어 안전하게 건너뛴 TLS 송신 데이터 수입니다.가속
tx[i]_tls_drop_no_sync_data재전송 때문에 버린 TLS 송신 데이터 수입니다.가속
ptp_cq[i]_abortPTP에서 포트 타임스탬프와 CQE 타임스탬프 차이가 128초를 넘어 CQE를 건너뛴 횟수입니다.오류
ptp_cq[i]_abort_abs_diff_nsPTP에서 포트 타임스탬프와 CQE 타임스탬프 차이가 128초를 넘은 경우의 시간 차 누계입니다.오류
ptp_cq[i]_late_cqe장치가 CQE를 게시하지 않는다고 보장하는 시간이 지난 뒤 PTP 타임스탬프 CQ에 예상 밖 CQE가 도착한 횟수입니다.오류
ptp_cq[i]_lost_cqe시간 차가 지나 장치가 PTP 타임스탬프 CQE를 전달하지 않을 것으로 예상한 횟수입니다. 그런 CQE가 나중에 도착하면 `ptp_cq[i]_late_cqe`도 증가합니다.오류

수신·송신, 체크섬, GRO/LRO, 페이지 풀, XDP/AF_XDP, TLS와 PTP 처리량 및 오류입니다.

`[#ring_global]`이 붙은 항목은 대응하는 링 카운터와 전역 카운터가 공통 명명 규칙을 따르지 않아 이름이 서로 다릅니다.

.. flat-table:: Ring / Software Port Counter Table
   :widths: 2 3 1

   * - Counter
     - Description
     - Type

   * - `rx[i]_packets`
     - The number of packets received on ring i.
     - Informative

   * - `rx[i]_bytes`
     - The number of bytes received on ring i.
     - Informative

   * - `tx[i]_packets`
     - The number of packets transmitted on ring i.
     - Informative

   * - `tx[i]_bytes`
     - The number of bytes transmitted on ring i.
     - Informative

   * - `tx[i]_recover`
     - The number of times the SQ was recovered.
     - Error

   * - `tx[i]_cqes`
     - Number of CQEs events on SQ issued on ring i.
     - Informative

   * - `tx[i]_cqe_err`
     - The number of error CQEs encountered on the SQ for ring i.
     - Error

   * - `tx[i]_tso_packets`
     - The number of TSO packets transmitted on ring i [#accel]_.
     - Acceleration

   * - `tx[i]_tso_bytes`
     - The number of TSO bytes transmitted on ring i [#accel]_.
     - Acceleration

   * - `tx[i]_tso_inner_packets`
     - The number of TSO packets which are indicated to be carry internal
       encapsulation transmitted on ring i [#accel]_.
     - Acceleration

   * - `tx[i]_tso_inner_bytes`
     - The number of TSO bytes which are indicated to be carry internal
       encapsulation transmitted on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_gro_packets`
     - Number of received packets processed using hardware-accelerated GRO. The
       number of hardware GRO offloaded packets received on ring i. Only true GRO
       packets are counted: only packets that are in an SKB with a GRO count > 1.
     - Acceleration

   * - `rx[i]_gro_bytes`
     - Number of received bytes processed using hardware-accelerated GRO. The
       number of hardware GRO offloaded bytes received on ring i. Only true GRO
       packets are counted: only packets that are in an SKB with a GRO count > 1.
     - Acceleration

   * - `rx[i]_gro_skbs`
     - The number of GRO SKBs constructed from hardware-accelerated GRO. Only SKBs
       with a GRO count > 1 are counted.
     - Informative

   * - `rx[i]_gro_large_hds`
     - Number of receive packets using hardware-accelerated GRO that have large
       headers that require additional memory to be allocated.
     - Informative

   * - `rx[i]_hds_nodata_packets`
     - Number of header only packets in header/data split mode [#accel]_.
     - Informative

   * - `rx[i]_hds_nodata_bytes`
     - Number of bytes for header only packets in header/data split mode
       [#accel]_.
     - Informative

   * - `rx[i]_hds_nosplit_packets`
     - Number of packets that were not split in header/data split mode. A
       packet will not get split when the hardware does not support its
       protocol splitting. An example such a protocol is ICMPv4/v6. Currently
       TCP and UDP with IPv4/IPv6 are supported for header/data split
       [#accel]_.
     - Informative

   * - `rx[i]_hds_nosplit_bytes`
     - Number of bytes for packets that were not split in header/data split
       mode. A packet will not get split when the hardware does not support its
       protocol splitting. An example such a protocol is ICMPv4/v6. Currently
       TCP and UDP with IPv4/IPv6 are supported for header/data split
       [#accel]_.
     - Informative

   * - `rx[i]_lro_packets`
     - The number of LRO packets received on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_lro_bytes`
     - The number of LRO bytes received on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_ecn_mark`
     - The number of received packets where the ECN mark was turned on.
     - Informative

   * - `rx_oversize_pkts_buffer`
     - The number of dropped received packets due to length which arrived to RQ
       and exceed software buffer size allocated by the device for incoming
       traffic. It might imply that the device MTU is larger than the software
       buffers size.
     - Error

   * - `rx_oversize_pkts_sw_drop`
     - Number of received packets dropped in software because the CQE data is
       larger than the MTU size.
     - Error

   * - `rx[i]_csum_unnecessary`
     - Packets received with a `CHECKSUM_UNNECESSARY` on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_csum_unnecessary_inner`
     - Packets received with inner encapsulation with a `CHECKSUM_UNNECESSARY`
       on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_csum_none`
     - Packets received with a `CHECKSUM_NONE` on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_csum_complete`
     - Packets received with a `CHECKSUM_COMPLETE` on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_csum_complete_tail`
     - Number of received packets that had checksum calculation computed,
       potentially needed padding, and were able to do so with
       `CHECKSUM_PARTIAL`.
     - Informative

   * - `rx[i]_csum_complete_tail_slow`
     - Number of received packets that need padding larger than eight bytes for
       the checksum.
     - Informative

   * - `tx[i]_csum_partial`
     - Packets transmitted with a `CHECKSUM_PARTIAL` on ring i [#accel]_.
     - Acceleration

   * - `tx[i]_csum_partial_inner`
     - Packets transmitted with inner encapsulation with a `CHECKSUM_PARTIAL` on
       ring i [#accel]_.
     - Acceleration

   * - `tx[i]_csum_none`
     - Packets transmitted with no hardware checksum acceleration on ring i.
     - Informative

   * - `tx[i]_stopped` / `tx_queue_stopped` [#ring_global]_
     - Events where SQ was full on ring i. If this counter is increased, check
       the amount of buffers allocated for transmission.
     - Informative

   * - `tx[i]_wake` / `tx_queue_wake` [#ring_global]_
     - Events where SQ was full and has become not full on ring i.
     - Informative

   * - `tx[i]_dropped` / `tx_queue_dropped` [#ring_global]_
     - Packets transmitted that were dropped due to DMA mapping failure on
       ring i. If this counter is increased, check the amount of buffers
       allocated for transmission.
     - Error

   * - `tx[i]_nop`
     - The number of nop WQEs (empty WQEs) inserted to the SQ (related to
       ring i) due to the reach of the end of the cyclic buffer. When reaching
       near to the end of cyclic buffer the driver may add those empty WQEs to
       avoid handling a state the a WQE start in the end of the queue and ends
       in the beginning of the queue. This is a normal condition.
     - Informative

   * - `tx[i]_timestamps`
     - Transmitted packets that were hardware timestamped at the device's DMA
       layer.
     - Informative

   * - `tx[i]_added_vlan_packets`
     - The number of packets sent where vlan tag insertion was offloaded to the
       hardware.
     - Acceleration

   * - `rx[i]_removed_vlan_packets`
     - The number of packets received where vlan tag stripping was offloaded to
       the hardware.
     - Acceleration

   * - `rx[i]_wqe_err`
     - The number of wrong opcodes received on ring i.
     - Error

   * - `rx[i]_mpwqe_frag`
     - The number of WQEs that failed to allocate compound page and hence
       fragmented MPWQE’s (Multi Packet WQEs) were used on ring i. If this
       counter raise, it may suggest that there is no enough memory for large
       pages, the driver allocated fragmented pages. This is not abnormal
       condition.
     - Informative

   * - `rx[i]_mpwqe_filler_cqes`
     - The number of filler CQEs events that were issued on ring i.
     - Informative

   * - `rx[i]_mpwqe_filler_strides`
     - The number of strides consumed by filler CQEs on ring i.
     - Informative

   * - `tx[i]_mpwqe_blks`
     - The number of send blocks processed from Multi-Packet WQEs (mpwqe).
     - Informative

   * - `tx[i]_mpwqe_pkts`
     - The number of send packets processed from Multi-Packet WQEs (mpwqe).
     - Informative

   * - `rx[i]_cqe_compress_blks`
     - The number of receive blocks with CQE compression on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_cqe_compress_pkts`
     - The number of receive packets with CQE compression on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_arfs_add`
     - The number of aRFS flow rules added to the device for direct RQ steering
       on ring i [#accel]_.
     - Acceleration

   * - `rx[i]_arfs_request_in`
     - Number of flow rules that have been requested to move into ring i for
       direct RQ steering [#accel]_.
     - Acceleration

   * - `rx[i]_arfs_request_out`
     - Number of flow rules that have been requested to move out of ring i [#accel]_.
     - Acceleration

   * - `rx[i]_arfs_expired`
     - Number of flow rules that have been expired and removed [#accel]_.
     - Acceleration

   * - `rx[i]_arfs_err`
     - Number of flow rules that failed to be added to the flow table.
     - Error

   * - `rx[i]_recover`
     - The number of times the RQ was recovered.
     - Error

   * - `tx[i]_xmit_more`
     - The number of packets sent with `xmit_more` indication set on the skbuff
       (no doorbell).
     - Acceleration

   * - `ch[i]_poll`
     - The number of invocations of NAPI poll of channel i.
     - Informative

   * - `ch[i]_arm`
     - The number of times the NAPI poll function completed and armed the
       completion queues on channel i.
     - Informative

   * - `ch[i]_aff_change`
     - The number of times the NAPI poll function explicitly stopped execution
       on a CPU due to a change in affinity, on channel i.
     - Informative

   * - `ch[i]_events`
     - The number of hard interrupt events on the completion queues of channel i.
     - Informative

   * - `ch[i]_eq_rearm`
     - The number of times the EQ was recovered.
     - Error

   * - `ch[i]_force_irq`
     - Number of times NAPI is triggered by XSK wakeups by posting a NOP to
       ICOSQ.
     - Acceleration

   * - `rx[i]_congst_umr`
     - The number of times an outstanding UMR request is delayed due to
       congestion, on ring i.
     - Informative

   * - `rx_pp_alloc_fast`
     - Number of successful fast path allocations.
     - Informative

   * - `rx_pp_alloc_slow`
     - Number of slow path order-0 allocations.
     - Informative

   * - `rx_pp_alloc_slow_high_order`
     - Number of slow path high order allocations.
     - Informative

   * - `rx_pp_alloc_empty`
     - Counter is incremented when ptr ring is empty, so a slow path allocation
       was forced.
     - Informative

   * - `rx_pp_alloc_refill`
     - Counter is incremented when an allocation which triggered a refill of the
       cache.
     - Informative

   * - `rx_pp_alloc_waive`
     - Counter is incremented when pages obtained from the ptr ring that cannot
       be added to the cache due to a NUMA mismatch.
     - Informative

   * - `rx_pp_recycle_cached`
     - Counter is incremented when recycling placed page in the page pool cache.
     - Informative

   * - `rx_pp_recycle_cache_full`
     - Counter is incremented when page pool cache was full.
     - Informative

   * - `rx_pp_recycle_ring`
     - Counter is incremented when page placed into the ptr ring.
     - Informative

   * - `rx_pp_recycle_ring_full`
     - Counter is incremented when page released from page pool because the ptr
       ring was full.
     - Informative

   * - `rx_pp_recycle_released_ref`
     - Counter is incremented when page released (and not recycled) because
       refcnt > 1.
     - Informative

   * - `rx[i]_xsk_buff_alloc_err`
     - The number of times allocating an skb or XSK buffer failed in the XSK RQ
       context.
     - Error

   * - `rx[i]_xdp_tx_xmit`
     - The number of packets forwarded back to the port due to XDP program
       `XDP_TX` action (bouncing). these packets are not counted by other
       software counters. These packets are counted by physical port and vPort
       counters.
     - Informative

   * - `rx[i]_xdp_tx_mpwqe`
     - Number of multi-packet WQEs transmitted by the netdev and `XDP_TX`-ed by
       the netdev during the RQ context.
     - Acceleration

   * - `rx[i]_xdp_tx_inlnw`
     - Number of WQE data segments transmitted where the data could be inlined
       in the WQE and then `XDP_TX`-ed during the RQ context.
     - Acceleration

   * - `rx[i]_xdp_tx_nops`
     - Number of NOP WQEBBs (WQE building blocks) received posted to the XDP SQ.
     - Acceleration

   * - `rx[i]_xdp_tx_full`
     - The number of packets that should have been forwarded back to the port
       due to `XDP_TX` action but were dropped due to full tx queue. These packets
       are not counted by other software counters. These packets are counted by
       physical port and vPort counters. You may open more rx queues and spread
       traffic rx over all queues and/or increase rx ring size.
     - Error

   * - `rx[i]_xdp_tx_err`
     - The number of times an `XDP_TX` error such as frame too long and frame
       too short occurred on `XDP_TX` ring of RX ring.
     - Error

   * - `rx[i]_xdp_tx_cqes` / `rx_xdp_tx_cqe` [#ring_global]_
     - The number of completions received on the CQ of the `XDP_TX` ring.
     - Informative

   * - `rx[i]_xdp_drop`
     - The number of packets dropped due to XDP program `XDP_DROP` action. these
       packets are not counted by other software counters. These packets are
       counted by physical port and vPort counters.
     - Informative

   * - `rx[i]_xdp_redirect`
     - The number of times an XDP redirect action was triggered on ring i.
     - Acceleration

   * - `tx[i]_xdp_xmit`
     - The number of packets redirected to the interface(due to XDP redirect).
       These packets are not counted by other software counters. These packets
       are counted by physical port and vPort counters.
     - Informative

   * - `tx[i]_xdp_full`
     - The number of packets redirected to the interface(due to XDP redirect),
       but were dropped due to full tx queue. these packets are not counted by
       other software counters. you may enlarge tx queues.
     - Informative

   * - `tx[i]_xdp_mpwqe`
     - Number of multi-packet WQEs offloaded onto the NIC that were
       `XDP_REDIRECT`-ed from other netdevs.
     - Acceleration

   * - `tx[i]_xdp_inlnw`
     - Number of WQE data segments where the data could be inlined in the WQE
       where the data segments were `XDP_REDIRECT`-ed from other netdevs.
     - Acceleration

   * - `tx[i]_xdp_nops`
     - Number of NOP WQEBBs (WQE building blocks) posted to the SQ that were
       `XDP_REDIRECT`-ed from other netdevs.
     - Acceleration

   * - `tx[i]_xdp_err`
     - The number of packets redirected to the interface(due to XDP redirect)
       but were dropped due to error such as frame too long and frame too short.
     - Error

   * - `tx[i]_xdp_cqes`
     - The number of completions received for packets redirected to the
       interface(due to XDP redirect) on the CQ.
     - Informative

   * - `tx[i]_xsk_xmit`
     - The number of packets transmitted using XSK zerocopy functionality.
     - Acceleration

   * - `tx[i]_xsk_mpwqe`
     - Number of multi-packet WQEs offloaded onto the NIC that were
       `XDP_REDIRECT`-ed from other netdevs.
     - Acceleration

   * - `tx[i]_xsk_inlnw`
     - Number of WQE data segments where the data could be inlined in the WQE
       that are transmitted using XSK zerocopy.
     - Acceleration

   * - `tx[i]_xsk_full`
     - Number of times doorbell is rung in XSK zerocopy mode when SQ is full.
     - Error

   * - `tx[i]_xsk_err`
     - Number of errors that occurred in XSK zerocopy mode such as if the data
       size is larger than the MTU size.
     - Error

   * - `tx[i]_xsk_cqes`
     - Number of CQEs processed in XSK zerocopy mode.
     - Acceleration

   * - `tx_tls_ctx`
     - Number of TLS TX HW offload contexts added to device for encryption.
     - Acceleration

   * - `tx_tls_del`
     - Number of TLS TX HW offload contexts removed from device (connection
       closed).
     - Acceleration

   * - `tx_tls_pool_alloc`
     - Number of times a unit of work is successfully allocated in the TLS HW
       offload pool.
     - Acceleration

   * - `tx_tls_pool_free`
     - Number of times a unit of work is freed in the TLS HW offload pool.
     - Acceleration

   * - `rx_tls_ctx`
     - Number of TLS RX HW offload contexts added to device for decryption.
     - Acceleration

   * - `rx_tls_del`
     - Number of TLS RX HW offload contexts deleted from device (connection has
       finished).
     - Acceleration

   * - `rx[i]_tls_decrypted_packets`
     - Number of successfully decrypted RX packets which were part of a TLS
       stream.
     - Acceleration

   * - `rx[i]_tls_decrypted_bytes`
     - Number of TLS payload bytes in RX packets which were successfully
       decrypted.
     - Acceleration

   * - `rx[i]_tls_resync_req_pkt`
     - Number of received TLS packets with a resync request.
     - Acceleration

   * - `rx[i]_tls_resync_req_start`
     - Number of times the TLS async resync request was started.
     - Acceleration

   * - `rx[i]_tls_resync_req_end`
     - Number of times the TLS async resync request properly ended with
       providing the HW tracked tcp-seq.
     - Acceleration

   * - `rx[i]_tls_resync_req_skip`
     - Number of times the TLS async resync request procedure was started but
       not properly ended.
     - Error

   * - `rx[i]_tls_resync_res_ok`
     - Number of times the TLS resync response call to the driver was
       successfully handled.
     - Acceleration

   * - `rx[i]_tls_resync_res_retry`
     - Number of times the TLS resync response call to the driver was
       reattempted when ICOSQ is full.
     - Error

   * - `rx[i]_tls_resync_res_skip`
     - Number of times the TLS resync response call to the driver was terminated
       unsuccessfully.
     - Error

   * - `rx[i]_tls_err`
     - Number of times when CQE TLS offload was problematic.
     - Error

   * - `tx[i]_tls_encrypted_packets`
     - The number of send packets that are TLS encrypted by the kernel.
     - Acceleration

   * - `tx[i]_tls_encrypted_bytes`
     - The number of send bytes that are TLS encrypted by the kernel.
     - Acceleration

   * - `tx[i]_tls_ooo`
     - Number of times out of order TLS SQE fragments were handled on ring i.
     - Acceleration

   * - `tx[i]_tls_dump_packets`
     - Number of TLS decrypted packets copied over from NIC over DMA.
     - Acceleration

   * - `tx[i]_tls_dump_bytes`
     - Number of TLS decrypted bytes copied over from NIC over DMA.
     - Acceleration

   * - `tx[i]_tls_resync_bytes`
     - Number of TLS bytes requested to be resynchronized in order to be
       decrypted.
     - Acceleration

   * - `tx[i]_tls_skip_no_sync_data`
     - Number of TLS send data that can safely be skipped / do not need to be
       decrypted.
     - Acceleration

   * - `tx[i]_tls_drop_no_sync_data`
     - Number of TLS send data that were dropped due to retransmission of TLS
       data.
     - Acceleration

   * - `ptp_cq[i]_abort`
     - Number of times a CQE has to be skipped in precision time protocol due to
       a skew between the port timestamp and CQE timestamp being greater than
       128 seconds.
     - Error

   * - `ptp_cq[i]_abort_abs_diff_ns`
     - Accumulation of time differences between the port timestamp and CQE
       timestamp when the difference is greater than 128 seconds in precision
       time protocol.
     - Error

   * - `ptp_cq[i]_late_cqe`
     - Number of times a CQE has been delivered on the PTP timestamping CQ when
       the CQE was not expected since a certain amount of time had elapsed where
       the device typically ensures not posting the CQE.
     - Error

   * - `ptp_cq[i]_lost_cqe`
     - Number of times a CQE is expected to not be delivered on the PTP
       timestamping CQE by the device due to a time delta elapsing. If such a
       CQE is somehow delivered, `ptp_cq[i]_late_cqe` is incremented.
     - Error

.. [#ring_global] The corresponding ring and global counters do not share the
                  same name (i.e. do not follow the common naming scheme).

vPort 카운터

741-888

vPort 카운터는 eSwitch에 연결된 NIC 포트의 조향 지점에서 집계합니다. 일반 Ethernet/Raw Ethernet QP/DPDK 트래픽과 RDMA 트래픽, representor 경로를 구분합니다.

vPort 카운터
카운터설명유형
rx_vport_unicast_packetsRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트로 조향된 수신 유니캐스트 패킷 수입니다.정보
rx_vport_unicast_bytesRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트로 조향된 수신 유니캐스트 바이트 수입니다.정보
tx_vport_unicast_packetsRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트에서 조향되어 송신된 유니캐스트 패킷 수입니다.정보
tx_vport_unicast_bytesRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트에서 조향되어 송신된 유니캐스트 바이트 수입니다.정보
rx_vport_multicast_packetsRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트로 조향된 수신 멀티캐스트 패킷 수입니다.정보
rx_vport_multicast_bytesRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트로 조향된 수신 멀티캐스트 바이트 수입니다.정보
tx_vport_multicast_packetsRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트에서 조향되어 송신된 멀티캐스트 패킷 수입니다.정보
tx_vport_multicast_bytesRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트에서 조향되어 송신된 멀티캐스트 바이트 수입니다.정보
rx_vport_broadcast_packetsRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트로 조향된 수신 브로드캐스트 패킷 수입니다.정보
rx_vport_broadcast_bytesRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트로 조향된 수신 브로드캐스트 바이트 수입니다.정보
tx_vport_broadcast_packetsRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트에서 조향되어 송신된 브로드캐스트 패킷 수입니다.정보
tx_vport_broadcast_bytesRDMA를 제외하고 Raw Ethernet QP/DPDK 트래픽을 포함해 포트에서 조향되어 송신된 브로드캐스트 바이트 수입니다.정보
rx_vport_rdma_unicast_packets포트로 조향된 수신 RDMA 유니캐스트 패킷 수입니다.가속
rx_vport_rdma_unicast_bytes포트로 조향된 수신 RDMA 유니캐스트 바이트 수입니다.가속
tx_vport_rdma_unicast_packets포트에서 조향되어 송신된 RDMA 유니캐스트 패킷 수입니다.가속
tx_vport_rdma_unicast_bytes포트에서 조향되어 송신된 RDMA 유니캐스트 바이트 수입니다.가속
rx_vport_rdma_multicast_packets포트로 조향된 수신 RDMA 멀티캐스트 패킷 수입니다.가속
rx_vport_rdma_multicast_bytes포트로 조향된 수신 RDMA 멀티캐스트 바이트 수입니다.가속
tx_vport_rdma_multicast_packets포트에서 조향되어 송신된 RDMA 멀티캐스트 패킷 수입니다.가속
tx_vport_rdma_multicast_bytes포트에서 조향되어 송신된 RDMA 멀티캐스트 바이트 수입니다.가속
vport_loopback_packetsvPort 내부 루프백으로 처리한 패킷 수입니다.가속
vport_loopback_bytesvPort 내부 루프백으로 처리한 바이트 수입니다.가속
rx_steer_missed_packets조향 규칙과 일치하지 않아 vPort 조향에서 놓친 수신 패킷 수입니다.오류
rx_packetsrepresentor 전용으로, 하이퍼바이저가 처리한 수신 패킷 수입니다.정보
rx_bytesrepresentor 전용으로, 하이퍼바이저가 처리한 수신 바이트 수입니다.정보
tx_packetsrepresentor 전용으로, 하이퍼바이저가 처리한 송신 패킷 수입니다.정보
tx_bytesrepresentor 전용으로, 하이퍼바이저가 처리한 송신 바이트 수입니다.정보
dev_internal_queue_oob내부 장치 RQ에 수신 WQE가 부족해 버린 패킷 수입니다.오류

eSwitch 포트별 유니캐스트·멀티캐스트·브로드캐스트·RDMA와 representor 통계입니다.

vPort Counters
--------------
Counters on the NIC port that is connected to a eSwitch.

.. flat-table:: vPort Counter Table
   :widths: 2 3 1

   * - Counter
     - Description
     - Type

   * - `rx_vport_unicast_packets`
     - Unicast packets received, steered to a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `rx_vport_unicast_bytes`
     - Unicast bytes received, steered to a port including Raw Ethernet QP/DPDK
       traffic, excluding RDMA traffic.
     - Informative

   * - `tx_vport_unicast_packets`
     - Unicast packets transmitted, steered from a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `tx_vport_unicast_bytes`
     - Unicast bytes transmitted, steered from a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `rx_vport_multicast_packets`
     - Multicast packets received, steered to a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `rx_vport_multicast_bytes`
     - Multicast bytes received, steered to a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `tx_vport_multicast_packets`
     - Multicast packets transmitted, steered from a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `tx_vport_multicast_bytes`
     - Multicast bytes transmitted, steered from a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `rx_vport_broadcast_packets`
     - Broadcast packets received, steered to a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `rx_vport_broadcast_bytes`
     - Broadcast bytes received, steered to a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `tx_vport_broadcast_packets`
     - Broadcast packets transmitted, steered from a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `tx_vport_broadcast_bytes`
     - Broadcast bytes transmitted, steered from a port including Raw Ethernet
       QP/DPDK traffic, excluding RDMA traffic.
     - Informative

   * - `rx_vport_rdma_unicast_packets`
     - RDMA unicast packets received, steered to a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `rx_vport_rdma_unicast_bytes`
     - RDMA unicast bytes received, steered to a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `tx_vport_rdma_unicast_packets`
     - RDMA unicast packets transmitted, steered from a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `tx_vport_rdma_unicast_bytes`
     - RDMA unicast bytes transmitted, steered from a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `rx_vport_rdma_multicast_packets`
     - RDMA multicast packets received, steered to a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `rx_vport_rdma_multicast_bytes`
     - RDMA multicast bytes received, steered to a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `tx_vport_rdma_multicast_packets`
     - RDMA multicast packets transmitted, steered from a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `tx_vport_rdma_multicast_bytes`
     - RDMA multicast bytes transmitted, steered from a port (counters counts
       RoCE/UD/RC traffic) [#accel]_.
     - Acceleration

   * - `vport_loopback_packets`
     - Unicast, multicast and broadcast packets that were loop-back (received
       and transmitted), IB/Eth  [#accel]_.
     - Acceleration

   * - `vport_loopback_bytes`
     - Unicast, multicast and broadcast bytes that were loop-back (received
       and transmitted), IB/Eth  [#accel]_.
     - Acceleration

   * - `rx_steer_missed_packets`
     - Number of packets that was received by the NIC, however was discarded
       because it did not match any flow in the NIC flow table.
     - Error

   * - `rx_packets`
     - Representor only: packets received, that were handled by the hypervisor.
     - Informative

   * - `rx_bytes`
     - Representor only: bytes received, that were handled by the hypervisor.
     - Informative

   * - `tx_packets`
     - Representor only: packets transmitted, that were handled by the
       hypervisor.
     - Informative

   * - `tx_bytes`
     - Representor only: bytes transmitted, that were handled by the hypervisor.
     - Informative

   * - `dev_internal_queue_oob`
     - The number of dropped packets due to lack of receive WQEs for an internal
       device RQ.
     - Error

물리 포트 카운터

889-1205

물리 포트 카운터는 어댑터와 외부 네트워크가 맞닿는 지점의 통계입니다. 표준 Ethernet 통계와 함께 링크 플랩, MTU 불일치, BER/FEC, pause 혼잡, 모듈 문제를 진단합니다.

물리 포트 카운터
카운터설명유형
rx_packets_phy물리 포트에서 수신한 패킷 수입니다. FCS, 프레임 크기 등 오류로 버린 패킷은 포함하지 않습니다.정보
tx_packets_phy물리 포트에서 송신한 패킷 수입니다.정보
rx_bytes_phyEthernet 헤더와 FCS를 포함해 물리 포트에서 수신한 바이트 수입니다.정보
tx_bytes_phy물리 포트에서 송신한 바이트 수입니다.정보
rx_multicast_phy물리 포트에서 수신한 멀티캐스트 패킷 수입니다.정보
tx_multicast_phy물리 포트에서 송신한 멀티캐스트 패킷 수입니다.정보
rx_broadcast_phy물리 포트에서 수신한 브로드캐스트 패킷 수입니다.정보
tx_broadcast_phy물리 포트에서 송신한 브로드캐스트 패킷 수입니다.정보
rx_crc_errors_phyCRC 또는 FCS 오류 때문에 물리 포트에서 버린 수신 패킷 수입니다. 빠르게 늘면 `rx_symbol_error_phy`와 `rx_corrected_bits_phy`를 함께 점검하십시오.오류
rx_in_range_len_errors_phy길이 또는 유형 오류가 있는 수신 패킷 수입니다.오류
rx_out_of_range_len_phy허용 프레임 길이보다 길어 버린 수신 패킷 수입니다. 상대 MTU가 더 큰지 확인해 양쪽 MTU를 맞추십시오.오류
rx_oversize_pkts_phyMTU보다 긴 수신 패킷 수입니다. 상대 MTU가 더 큰지 확인해 양쪽 MTU를 맞추십시오.오류
rx_symbol_err_phy물리 코딩에서 감지한 수신 심볼 오류 수입니다.오류
rx_mac_control_phy물리 포트에서 수신한 MAC 제어 패킷 수입니다.정보
tx_mac_control_phy물리 포트에서 송신한 MAC 제어 패킷 수입니다.정보
rx_pause_ctrl_phy수신한 전역 pause 패킷 수입니다. 빠르게 늘면 네트워크가 어댑터 송신 트래픽을 흡수하지 못하는 혼잡 상태입니다.정보
tx_pause_ctrl_phy송신한 전역 pause 패킷 수입니다. 빠르게 늘면 어댑터가 네트워크 수신 트래픽을 흡수하지 못하는 혼잡 상태입니다.정보
rx_unsupported_op_phy지원하지 않는 MAC 제어 opcode를 가진 수신 패킷 수입니다.오류
rx_discards_phy수신 버퍼 부족으로 버린 패킷 수입니다. 빠르게 늘면 어댑터 내부 혼잡을 뜻할 수 있습니다.오류
tx_discards_phy오류를 검출하지 않았지만 송신 전에 버린 패킷 수입니다. 링크 다운, head-of-line drop, 네트워크 pause 같은 원인을 확인하십시오.오류
tx_errors_phyMTU보다 길어 송신하지 못한 패킷 수입니다.오류
rx_undersize_pkts_phy64바이트보다 짧아 버린 수신 패킷 수입니다. 상대의 비표준 MTU 또는 잘못된 프레임을 점검하십시오.오류
rx_fragments_phy64바이트보다 짧고 FCS 오류가 있는 수신 패킷 수입니다.오류
rx_jabbers_phy64바이트보다 길지만 FCS 오류가 있는 jabber 수신 패킷 수입니다.오류
rx_64_bytes_phy정확히 64바이트인 수신 패킷 수입니다.정보
rx_65_to_127_bytes_phy65~127바이트인 수신 패킷 수입니다.정보
rx_128_to_255_bytes_phy128~255바이트인 수신 패킷 수입니다.정보
rx_256_to_511_bytes_phy256~511바이트인 수신 패킷 수입니다.정보
rx_512_to_1023_bytes_phy512~1023바이트인 수신 패킷 수입니다.정보
rx_1024_to_1518_bytes_phy1024~1518바이트인 수신 패킷 수입니다.정보
rx_1519_to_2047_bytes_phy1519~2047바이트인 수신 패킷 수입니다.정보
rx_2048_to_4095_bytes_phy2048~4095바이트인 수신 패킷 수입니다.정보
rx_4096_to_8191_bytes_phy4096~8191바이트인 수신 패킷 수입니다.정보
rx_8192_to_10239_bytes_phy8192~10239바이트인 수신 패킷 수입니다.정보
link_down_events_phy물리 링크가 내려간 이벤트 수입니다. 계속 늘면 링크 플랩을 뜻하므로 케이블과 트랜시버를 점검하거나 교체하십시오.오류
total_success_recovery_phy포트 재설정 과정에서 성공적으로 복구한 횟수입니다.오류
rx_out_of_buffer소프트웨어 수신 버퍼가 없어 수신 큐에서 버린 패킷 수입니다.오류
module_bus_stuck모듈 I2C 데이터 또는 클록 라인의 단락 오류 수입니다. 케이블이나 트랜시버를 점검하고 필요하면 교체하십시오.오류
module_high_temp모듈 온도가 허용 범위를 넘은 횟수입니다. 주변 온도를 확인하고 모듈을 교체하십시오.오류
module_bad_shorted모듈 케이블 단락 오류 수입니다.오류
module_unplug모듈이 빠진 이벤트 수입니다.정보
rx_buffer_passed_thres_phy수신 버퍼 점유율이 85%를 넘은 횟수입니다.정보
tx_pause_storm_warning_events어댑터가 긴 pause를 보내야 했던 경고 수입니다.정보
tx_pause_storm_error_eventspause storm 시간 제한으로 pause 송신을 비활성화한 횟수입니다. 이후 패킷 손실이 생길 수 있습니다.오류
rx[i]_buff_alloc_err수신 링 버퍼 또는 SKB를 할당하지 못한 횟수입니다.오류
rx_bits_phy수신할 수 있었던 전체 물리 비트 수입니다. BER 비율 계산의 분모로 사용합니다.정보
rx_pcs_symbol_err_phyFEC로 고치지 못한 PCS 심볼 수입니다. FEC 비활성 또는 높은 BER을 나타내며 `rx_pcs_symbol_err_phy / rx_bits_phy` 비율을 확인하십시오.오류
rx_corrected_bits_phyRS/FC FEC가 교정한 비트 수입니다. 높은 값은 높은 BER을 뜻할 수 있으므로 `rx_corrected_bits_phy / rx_bits_phy` 비율을 확인하십시오.오류
rx_err_lane_[l]_phyFEC 적용 전 각 레인에서 관측한 원시 오류 수입니다. 빠르게 늘면 BER이 높으므로 `rx_corrected_bits_phy`도 확인하십시오.오류
rx_global_pause물리 포트에서 받은 전역 pause 프레임 수입니다. 전역 pause 모드에서만 활성화됩니다.정보
rx_global_pause_duration물리 포트 수신기가 pause 상태였던 시간(마이크로초)입니다. 송신 시간은 포함하지 않으며 전역 pause 모드에서만 활성화됩니다.정보
tx_global_pause물리 포트에서 보낸 전역 pause 프레임 수입니다. 전역 pause 모드에서만 활성화됩니다.정보
tx_global_pause_duration물리 포트 송신기가 pause 상태였던 시간(마이크로초)입니다. 전역 pause 모드에서만 활성화됩니다.정보
rx_global_pause_transition물리 포트에서 Xoff에서 Xon으로 전환한 횟수입니다. 전역 pause 모드에서만 활성화됩니다.정보
rx_if_down_packets인터페이스가 내려가 있어 버린 수신 패킷 수입니다.정보

외부 포트의 트래픽, 프레임 오류, 크기 분포, 링크·모듈 상태, FEC와 pause 통계입니다.

Physical Port Counters
----------------------
The physical port counters are the counters on the external port connecting the
adapter to the network. This measuring point holds information on standardized
counters like IEEE 802.3, RFC2863, RFC 2819, RFC 3635 and additional counters
like flow control, FEC and more.

.. flat-table:: Physical Port Counter Table
   :widths: 2 3 1

   * - Counter
     - Description
     - Type

   * - `rx_packets_phy`
     - The number of packets received on the physical port. This counter doesn’t
       include packets that were discarded due to FCS, frame size and similar
       errors.
     - Informative

   * - `tx_packets_phy`
     - The number of packets transmitted on the physical port.
     - Informative

   * - `rx_bytes_phy`
     - The number of bytes received on the physical port, including Ethernet
       header and FCS.
     - Informative

   * - `tx_bytes_phy`
     - The number of bytes transmitted on the physical port.
     - Informative

   * - `rx_multicast_phy`
     - The number of multicast packets received on the physical port.
     - Informative

   * - `tx_multicast_phy`
     - The number of multicast packets transmitted on the physical port.
     - Informative

   * - `rx_broadcast_phy`
     - The number of broadcast packets received on the physical port.
     - Informative

   * - `tx_broadcast_phy`
     - The number of broadcast packets transmitted on the physical port.
     - Informative

   * - `rx_crc_errors_phy`
     - The number of dropped received packets due to FCS (Frame Check Sequence)
       error on the physical port. If this counter is increased in high rate,
       check the link quality using `rx_symbol_error_phy` and
       `rx_corrected_bits_phy` counters below.
     - Error

   * - `rx_in_range_len_errors_phy`
     - The number of received packets dropped due to length/type errors on a
       physical port.
     - Error

   * - `rx_out_of_range_len_phy`
     - The number of received packets dropped due to length greater than allowed
       on a physical port. If this counter is increasing, it implies that the
       peer connected to the adapter has a larger MTU configured. Using same MTU
       configuration shall resolve this issue.
     - Error

   * - `rx_oversize_pkts_phy`
     - The number of dropped received packets due to length which exceed MTU
       size on a physical port. If this counter is increasing, it implies that
       the peer connected to the adapter has a larger MTU configured. Using same
       MTU configuration shall resolve this issue.
     - Error

   * - `rx_symbol_err_phy`
     - The number of received packets dropped due to physical coding errors
       (symbol errors) on a physical port.
     - Error

   * - `rx_mac_control_phy`
     - The number of MAC control packets received on the physical port.
     - Informative

   * - `tx_mac_control_phy`
     - The number of MAC control packets transmitted on the physical port.
     - Informative

   * - `rx_pause_ctrl_phy`
     - The number of link layer pause packets received on a physical port. If
       this counter is increasing, it implies that the network is congested and
       cannot absorb the traffic coming from to the adapter.
     - Informative

   * - `tx_pause_ctrl_phy`
     - The number of link layer pause packets transmitted on a physical port. If
       this counter is increasing, it implies that the NIC is congested and
       cannot absorb the traffic coming from the network.
     - Informative

   * - `rx_unsupported_op_phy`
     - The number of MAC control packets received with unsupported opcode on a
       physical port.
     - Error

   * - `rx_discards_phy`
     - The number of received packets dropped due to lack of buffers on a
       physical port. If this counter is increasing, it implies that the adapter
       is congested and cannot absorb the traffic coming from the network.
     - Error

   * - `tx_discards_phy`
     - The number of packets which were discarded on transmission, even no
       errors were detected. the drop might occur due to link in down state,
       head of line drop, pause from the network, etc.
     - Error

   * - `tx_errors_phy`
     - The number of transmitted packets dropped due to a length which exceed
       MTU size on a physical port.
     - Error

   * - `rx_undersize_pkts_phy`
     - The number of received packets dropped due to length which is shorter
       than 64 bytes on a physical port. If this counter is increasing, it
       implies that the peer connected to the adapter has a non-standard MTU
       configured or malformed packet had arrived.
     - Error

   * - `rx_fragments_phy`
     - The number of received packets dropped due to a length which is shorter
       than 64 bytes and has FCS error on a physical port. If this counter is
       increasing, it implies that the peer connected to the adapter has a
       non-standard MTU configured.
     - Error

   * - `rx_jabbers_phy`
     - The number of received packets d due to a length which is longer than 64
       bytes and had FCS error on a physical port.
     - Error

   * - `rx_64_bytes_phy`
     - The number of packets received on the physical port with size of 64 bytes.
     - Informative

   * - `rx_65_to_127_bytes_phy`
     - The number of packets received on the physical port with size of 65 to
       127 bytes.
     - Informative

   * - `rx_128_to_255_bytes_phy`
     - The number of packets received on the physical port with size of 128 to
       255 bytes.
     - Informative

   * - `rx_256_to_511_bytes_phy`
     - The number of packets received on the physical port with size of 256 to
       512 bytes.
     - Informative

   * - `rx_512_to_1023_bytes_phy`
     - The number of packets received on the physical port with size of 512 to
       1023 bytes.
     - Informative

   * - `rx_1024_to_1518_bytes_phy`
     - The number of packets received on the physical port with size of 1024 to
       1518 bytes.
     - Informative

   * - `rx_1519_to_2047_bytes_phy`
     - The number of packets received on the physical port with size of 1519 to
       2047 bytes.
     - Informative

   * - `rx_2048_to_4095_bytes_phy`
     - The number of packets received on the physical port with size of 2048 to
       4095 bytes.
     - Informative

   * - `rx_4096_to_8191_bytes_phy`
     - The number of packets received on the physical port with size of 4096 to
       8191 bytes.
     - Informative

   * - `rx_8192_to_10239_bytes_phy`
     - The number of packets received on the physical port with size of 8192 to
       10239 bytes.
     - Informative

   * - `link_down_events_phy`
     - The number of times where the link operative state changed to down. In
       case this counter is increasing it may imply on port flapping. You may
       need to replace the cable/transceiver.
     - Error

   * - `total_success_recovery_phy`
     - The number of total successful recovery events of any type during
       ports reset cycle.
     - Error

   * - `rx_out_of_buffer`
     - Number of times receive queue had no software buffers allocated for the
       adapter's incoming traffic.
     - Error

   * - `module_bus_stuck`
     - The number of times that module's I\ :sup:`2`\C bus (data or clock)
       short-wire was detected. You may need to replace the cable/transceiver.
     - Error

   * - `module_high_temp`
     - The number of times that the module temperature was too high. If this
       issue persist, you may need to check the ambient temperature or replace
       the cable/transceiver module.
     - Error

   * - `module_bad_shorted`
     - The number of times that the module cables were shorted. You may need to
       replace the cable/transceiver module.
     - Error

   * - `module_unplug`
     - The number of times that module was ejected.
     - Informative

   * - `rx_buffer_passed_thres_phy`
     - The number of events where the port receive buffer was over 85% full.
     - Informative

   * - `tx_pause_storm_warning_events`
     - The number of times the device was sending pauses for a long period of
       time.
     - Informative

   * - `tx_pause_storm_error_events`
     - The number of times the device was sending pauses for a long period of
       time, reaching time out and disabling transmission of pause frames. on
       the period where pause frames were disabled, drop could have been
       occurred.
     - Error

   * - `rx[i]_buff_alloc_err`
     - Failed to allocate a buffer to received packet (or SKB) on ring i.
     - Error

   * - `rx_bits_phy`
     - This counter provides information on the total amount of traffic that
       could have been received and can be used as a guideline to measure the
       ratio of errored traffic in `rx_pcs_symbol_err_phy` and
       `rx_corrected_bits_phy`.
     - Informative

   * - `rx_pcs_symbol_err_phy`
     - This counter counts the number of symbol errors that wasn’t corrected by
       FEC correction algorithm or that FEC algorithm was not active on this
       interface. If this counter is increasing, it implies that the link
       between the NIC and the network is suffering from high BER, and that
       traffic is lost. You may need to replace the cable/transceiver. The error
       rate is the number of `rx_pcs_symbol_err_phy` divided by the number of
       `rx_bits_phy` on a specific time frame.
     - Error

   * - `rx_corrected_bits_phy`
     - The number of corrected bits on this port according to active FEC
       (RS/FC). If this counter is increasing, it implies that the link between
       the NIC and the network is suffering from high BER. The corrected bit
       rate is the number of `rx_corrected_bits_phy` divided by the number of
       `rx_bits_phy` on a specific time frame.
     - Error

   * - `rx_err_lane_[l]_phy`
     - This counter counts the number of physical raw errors per lane l index.
       The counter counts errors before FEC corrections. If this counter is
       increasing, it implies that the link between the NIC and the network is
       suffering from high BER, and that traffic might be lost. You may need to
       replace the cable/transceiver. Please check in accordance with
       `rx_corrected_bits_phy`.
     - Error

   * - `rx_global_pause`
     - The number of pause packets received on the physical port. If this
       counter is increasing, it implies that the network is congested and
       cannot absorb the traffic coming from the adapter. Note: This counter is
       only enabled when global pause mode is enabled.
     - Informative

   * - `rx_global_pause_duration`
     - The duration of pause received (in microSec) on the physical port. The
       counter represents the time the port did not send any traffic. If this
       counter is increasing, it implies that the network is congested and
       cannot absorb the traffic coming from the adapter. Note: This counter is
       only enabled when global pause mode is enabled.
     - Informative

   * - `tx_global_pause`
     - The number of pause packets transmitted on a physical port. If this
       counter is increasing, it implies that the adapter is congested and
       cannot absorb the traffic coming from the network. Note: This counter is
       only enabled when global pause mode is enabled.
     - Informative

   * - `tx_global_pause_duration`
     - The duration of pause transmitter (in microSec) on the physical port.
       Note: This counter is only enabled when global pause mode is enabled.
     - Informative

   * - `rx_global_pause_transition`
     - The number of times a transition from Xoff to Xon on the physical port
       has occurred. Note: This counter is only enabled when global pause mode
       is enabled.
     - Informative

   * - `rx_if_down_packets`
     - The number of received packets that were dropped due to interface down.
     - Informative

우선순위 포트 카운터

1206-1287

다음 항목은 물리 포트 통계를 L2 우선순위 0~7별로 집계합니다. 카운터 이름의 `p`는 우선순위를 뜻하며, PFC 관련 항목은 해당 우선순위에 PFC가 활성화된 경우에만 제공합니다.

우선순위 포트 카운터
카운터설명유형
rx_prio[p]_bytes물리 포트에서 우선순위 p로 수신한 바이트 수입니다.정보
rx_prio[p]_packets물리 포트에서 우선순위 p로 수신한 패킷 수입니다.정보
tx_prio[p]_bytes물리 포트에서 우선순위 p로 송신한 바이트 수입니다.정보
tx_prio[p]_packets물리 포트에서 우선순위 p로 송신한 패킷 수입니다.정보
rx_prio[p]_pause우선순위 p로 받은 pause 패킷 수입니다. 증가하면 네트워크가 어댑터 트래픽을 흡수하지 못하는 혼잡 상태입니다. p에 PFC가 켜진 경우에만 제공합니다.정보
rx_prio[p]_pause_duration우선순위 p의 수신기가 pause 상태였던 시간(마이크로초)입니다. p에 PFC가 켜진 경우에만 제공합니다.정보
rx_prio[p]_pause_transition우선순위 p에서 Xoff에서 Xon으로 전환한 횟수입니다. p에 PFC가 켜진 경우에만 제공합니다.정보
tx_prio[p]_pause우선순위 p로 보낸 pause 패킷 수입니다. 증가하면 어댑터가 네트워크 트래픽을 흡수하지 못하는 혼잡 상태입니다. p에 PFC가 켜진 경우에만 제공합니다.정보
tx_prio[p]_pause_duration우선순위 p의 송신기가 pause 상태였던 시간(마이크로초)입니다. p에 PFC가 켜진 경우에만 제공합니다.정보
rx_prio[p]_buf_discard호스트별 수신 버퍼 부족으로 장치가 버린 패킷 수입니다.정보
rx_prio[p]_cong_discard호스트별 혼잡 때문에 장치가 버린 패킷 수입니다.정보
rx_prio[p]_marked호스트별 혼잡 때문에 장치가 ECN 표시를 추가한 패킷 수입니다.정보
rx_prio[p]_discards수신 버퍼 부족으로 장치가 버린 패킷 수입니다.정보

우선순위별 트래픽, PFC pause 시간과 호스트별 혼잡·버퍼 드롭입니다.

Priority Port Counters
----------------------
The following counters are physical port counters that are counted per L2
priority (0-7).

**Note:** `p` in the counter name represents the priority.

.. flat-table:: Priority Port Counter Table
   :widths: 2 3 1

   * - Counter
     - Description
     - Type

   * - `rx_prio[p]_bytes`
     - The number of bytes received with priority p on the physical port.
     - Informative

   * - `rx_prio[p]_packets`
     - The number of packets received with priority p on the physical port.
     - Informative

   * - `tx_prio[p]_bytes`
     - The number of bytes transmitted on priority p on the physical port.
     - Informative

   * - `tx_prio[p]_packets`
     - The number of packets transmitted on priority p on the physical port.
     - Informative

   * - `rx_prio[p]_pause`
     - The number of pause packets received with priority p on a physical port.
       If this counter is increasing, it implies that the network is congested
       and cannot absorb the traffic coming from the adapter. Note: This counter
       is available only if PFC was enabled on priority p.
     - Informative

   * - `rx_prio[p]_pause_duration`
     - The duration of pause received (in microSec) on priority p on the
       physical port. The counter represents the time the port did not send any
       traffic on this priority. If this counter is increasing, it implies that
       the network is congested and cannot absorb the traffic coming from the
       adapter. Note: This counter is available only if PFC was enabled on
       priority p.
     - Informative

   * - `rx_prio[p]_pause_transition`
     - The number of times a transition from Xoff to Xon on priority p on the
       physical port has occurred. Note: This counter is available only if PFC
       was enabled on priority p.
     - Informative

   * - `tx_prio[p]_pause`
     - The number of pause packets transmitted on priority p on a physical port.
       If this counter is increasing, it implies that the adapter is congested
       and cannot absorb the traffic coming from the network. Note: This counter
       is available only if PFC was enabled on priority p.
     - Informative

   * - `tx_prio[p]_pause_duration`
     - The duration of pause transmitter (in microSec) on priority p on the
       physical port. Note: This counter is available only if PFC was enabled on
       priority p.
     - Informative

   * - `rx_prio[p]_buf_discard`
     - The number of packets discarded by device due to lack of per host receive
       buffers.
     - Informative

   * - `rx_prio[p]_cong_discard`
     - The number of packets discarded by device due to per host congestion.
     - Informative

   * - `rx_prio[p]_marked`
     - The number of packets ecn marked by device due to per host congestion.
     - Informative

   * - `rx_prio[p]_discards`
     - The number of packets discarded by device due to lack of receive buffers.
     - Informative

장치 카운터

1288-1380

장치 카운터는 PCIe 신호 무결성, credit 부족으로 멈춘 시간, PCIe 대역폭 임계값과 장치 내부 버퍼 부족을 진단합니다. high/low 임계값 카운터는 쌍으로 비교해야 합니다.

장치 카운터
카운터설명유형
rx_pci_signal_integrity프레이밍 오류와 CRC(DLP/TLP) 때문에 recovery로 전환한 횟수 등 PCIe 물리 계층 신호 무결성 오류를 셉니다. 빠르게 늘면 다른 PCI 슬롯을 시험하고 최신 펌웨어와 서버 BIOS인지 확인하십시오.오류
tx_pci_signal_integrity상대가 TS/EIEOS를 받아 recovery를 시작한 전환 횟수 등 송신 측 PCIe 물리 계층 신호 무결성 오류를 셉니다. 빠르게 늘면 다른 PCI 슬롯을 시험하고 최신 펌웨어와 서버 BIOS인지 확인하십시오.오류
outbound_pci_buffer_overflowPCI 버퍼 오버플로로 버린 패킷 수입니다. 빠르게 늘면 호스트 수신 속도가 PCIe 버스 용량보다 커 혼잡이 생긴 것일 수 있습니다.정보
outbound_pci_stalled_rd최근 1초 동안 NIC가 outbound non-posted read 요청을 보유했지만 posted credit 부족으로 수행하지 못한 시간의 비율(0~100%)입니다.정보
outbound_pci_stalled_wr최근 1초 동안 NIC가 outbound posted write 요청을 보유했지만 posted credit 부족으로 수행하지 못한 시간의 비율(0~100%)입니다.정보
outbound_pci_stalled_rd_events`outbound_pci_stalled_rd`가 30%를 넘었던 초 단위 이벤트 수입니다.정보
outbound_pci_stalled_wr_events`outbound_pci_stalled_wr`가 30%를 넘었던 초 단위 이벤트 수입니다.정보
dev_out_of_buffer장치 소유 큐의 버퍼가 부족해 버린 패킷 수입니다.오류
pci_bw_inbound_high장치가 높은 inbound PCIe 대역폭 임계값을 넘은 횟수입니다. high와 low가 같으면 혼잡하지 않고 high가 더 크면 혼잡합니다.정보
pci_bw_inbound_low장치가 낮은 inbound PCIe 대역폭 임계값을 넘은 횟수입니다. high와 low가 같으면 혼잡하지 않고 high가 더 크면 혼잡합니다.정보
pci_bw_outbound_high장치가 높은 outbound PCIe 대역폭 임계값을 넘은 횟수입니다. high와 low가 같으면 혼잡하지 않고 high가 더 크면 혼잡합니다.정보
pci_bw_outbound_low장치가 낮은 outbound PCIe 대역폭 임계값을 넘은 횟수입니다. high와 low가 같으면 혼잡하지 않고 high가 더 크면 혼잡합니다.정보
pci_bw_stale_event장치가 PCIe 혼잡 이벤트를 발생시켰지만 조회했을 때 상태 변화가 없었던 횟수입니다.정보

PCIe 링크 품질, 버스 혼잡과 장치 큐 자원 상태입니다.

Device Counters
---------------
.. flat-table:: Device Counter Table
   :widths: 2 3 1

   * - Counter
     - Description
     - Type

   * - `rx_pci_signal_integrity`
     - Counts physical layer PCIe signal integrity errors, the number of
       transitions to recovery due to Framing errors and CRC (dlp and tlp). If
       this counter is raising, try moving the adapter card to a different slot
       to rule out a bad PCI slot. Validate that you are running with the latest
       firmware available and latest server BIOS version.
     - Error

   * - `tx_pci_signal_integrity`
     - Counts physical layer PCIe signal integrity errors, the number of
       transition to recovery initiated by the other side (moving to recovery
       due to getting TS/EIEOS). If this counter is raising, try moving the
       adapter card to a different slot to rule out a bad PCI slot. Validate
       that you are running with the latest firmware available and latest server
       BIOS version.
     - Error

   * - `outbound_pci_buffer_overflow`
     - The number of packets dropped due to pci buffer overflow. If this counter
       is raising in high rate, it might indicate that the receive traffic rate
       for a host is larger than the PCIe bus and therefore a congestion occurs.
     - Informative

   * - `outbound_pci_stalled_rd`
     - The percentage (in the range 0...100) of time within the last second that
       the NIC had outbound non-posted reads requests but could not perform the
       operation due to insufficient posted credits.
     - Informative

   * - `outbound_pci_stalled_wr`
     - The percentage (in the range 0...100) of time within the last second that
       the NIC had outbound posted writes requests but could not perform the
       operation due to insufficient posted credits.
     - Informative

   * - `outbound_pci_stalled_rd_events`
     - The number of seconds where `outbound_pci_stalled_rd` was above 30%.
     - Informative

   * - `outbound_pci_stalled_wr_events`
     - The number of seconds where `outbound_pci_stalled_wr` was above 30%.
     - Informative

   * - `dev_out_of_buffer`
     - The number of times the device owned queue had not enough buffers
       allocated.
     - Error

   * - `pci_bw_inbound_high`
     - The number of times the device crossed the high inbound pcie bandwidth
       threshold. To be compared to pci_bw_inbound_low to check if the device
       is in a congested state.
       If pci_bw_inbound_high == pci_bw_inbound_low then the device is not congested.
       If pci_bw_inbound_high > pci_bw_inbound_low then the device is congested.
     - Informative

   * - `pci_bw_inbound_low`
     - The number of times the device crossed the low inbound PCIe bandwidth
       threshold. To be compared to pci_bw_inbound_high to check if the device
       is in a congested state.
       If pci_bw_inbound_high == pci_bw_inbound_low then the device is not congested.
       If pci_bw_inbound_high > pci_bw_inbound_low then the device is congested.
     - Informative

   * - `pci_bw_outbound_high`
     - The number of times the device crossed the high outbound pcie bandwidth
       threshold. To be compared to pci_bw_outbound_low to check if the device
       is in a congested state.
       If pci_bw_outbound_high == pci_bw_outbound_low then the device is not congested.
       If pci_bw_outbound_high > pci_bw_outbound_low then the device is congested.
     - Informative

   * - `pci_bw_outbound_low`
     - The number of times the device crossed the low outbound PCIe bandwidth
       threshold. To be compared to pci_bw_outbound_high to check if the device
       is in a congested state.
       If pci_bw_outbound_high == pci_bw_outbound_low then the device is not congested.
       If pci_bw_outbound_high > pci_bw_outbound_low then the device is congested.
     - Informative

   * - `pci_bw_stale_event`
     - The number of times the device fired a PCIe congestion event but on query
       there was no change in state.
     - Informative