DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Understanding of 'rx_errors" counter
@ 2021-07-01  2:52 최영민
  0 siblings, 0 replies; only message in thread
From: 최영민 @ 2021-07-01  2:52 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-01  2:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01  2:52 [dpdk-users] Understanding of 'rx_errors" counter 최영민

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git