[dpdk-users] Understanding of 'rx_errors" counter

최영민 youngminchoi94 at gmail.com
Thu Jul 1 04:52:05 CEST 2021


Hi, dpdk.

I'm trying to develop custom application using DPDK but I have a problem
now.
When I use multi-core for my application, 'rx_errors' counter increases. I
set one rx, tx queue per core and get counter information using
rte_eth_get_xstats(). I'm using DPDK version 20.05 and tried with 21.05 but
the same result happens. I'm using Mellanox BF-2 SmartNIC, and mlx5 NIC
driver. I ran my application both on host CPU and embedded ARM core of
SmartNIC. But, problem happens at host CPU(increasing 'rx_errors" counter).
Here is the full list of counter that I got using rte_eth_get_xstats().

Port 0: _______ rx_good_packets:                587188
Port 0: _______ tx_good_packets:                587696
Port 0: _______ rx_good_bytes:          45797374
Port 0: _______ tx_good_bytes:          38833365
Port 0: _______ rx_errors:              16
Port 0: _______ rx_q0packets:           1380
Port 0: _______ rx_q0bytes:             104803
Port 0: _______ rx_q1packets:           585808
Port 0: _______ rx_q1bytes:             45692571
Port 0: _______ rx_q1errors:            16
Port 0: _______ tx_q0packets:           1480
Port 0: _______ tx_q0bytes:             116271
Port 0: _______ tx_q1packets:           586216
Port 0: _______ tx_q1bytes:             38717094
Port 0: _______ rx_port_unicast_packets:                587346
Port 0: _______ rx_port_unicast_bytes:          48176028
Port 0: _______ tx_port_unicast_packets:                587696
Port 0: _______ tx_port_unicast_bytes:          38833301
Port 0: _______ rx_port_multicast_packets:              1
Port 0: _______ rx_port_multicast_bytes:                97
Port 0: _______ tx_packets_phy:         588288
Port 0: _______ rx_packets_phy:         588267
Port 0: _______ tx_bytes_phy:           42102136
Port 0: _______ rx_bytes_phy:           49473416
Port 0: _______ rx_64_bytes_phy:                672
Port 0: _______ rx_65_to_127_bytes_phy:         586398

Regards
Youngmin Choi


More information about the users mailing list