From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0B352A0A0C for ; Thu, 1 Jul 2021 04:52:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82F5B40141; Thu, 1 Jul 2021 04:52:18 +0200 (CEST) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com [209.85.210.49]) by mails.dpdk.org (Postfix) with ESMTP id E1B5D40040 for ; Thu, 1 Jul 2021 04:52:17 +0200 (CEST) Received: by mail-ot1-f49.google.com with SMTP id t24-20020a9d7f980000b029046f4a1a5ec4so5068145otp.1 for ; Wed, 30 Jun 2021 19:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cK2qm0IjYPnMewDFCcRC07hmk9lFFuz1xHc5JF7zRsI=; b=jNXsrFUETd/Rj2bI+KZxievmRjOrkTa/bkyILuLPYEcbdWlp5q5h2t105u8cFe5c4O 1R0Yk8Sci3psHoXd4rOFcDSrW1qylffmOVhZv0qGVo+ZotCcoyWUeICzGN215PwqYceM E5x7docJKtVI8V8/AgnGzL79wfMkgEdSr7R9VyMsJ3PrUlrrnvzof/U0f9yrxQKYjpko NU4y/MB7wGLsAQ0fEF6Wg1wXi9ltx1ZJ9LpLpLogMJczmSQ6G/vcvah/saUDe9LX6HrD cHfwFr7rE7yh49KU94STGMnMb2wppNBdC21n0q8AkxMBF118xhAQKnReih3YuGSrXUpI yNCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cK2qm0IjYPnMewDFCcRC07hmk9lFFuz1xHc5JF7zRsI=; b=aRTPYd/dB0BrdkpuA5tQZm+DQeXZxcQ7oU2QpnCOp1CRjsebaIYEg3tU71woTImhEf kwsXX0XL3kuXIvmFN+8qNvzBNmVwZ1lh4e0B5iROQlp17sA1cpfaF3lGxuAfdloCm9HH JBGdkvHnYK2FnfVg0+asVLixCV1yZkqQtwg4JkSYl/KrbKs8x4gNX0zkUzhZgCwn5R6s ikloi5hkxNX0/fUlbnF9Yj3MdNYiclh8Q82MHRlsZQJ+e+Xni6132rVV1ViCOBOrav3F CugtjaTi22iqUn2Mgie5vX5FT4Y5NSIPMJrwRfWrE6FOzH0cfvQz2opV5aX80ELf2pmh kjOQ== X-Gm-Message-State: AOAM531/2DN8W4dbx78L6TgyW/iAZuHIbjIc02FDKgTqgO2nt8+x6tDt ZIOcAJVgCXMC0fS1Cxy0fOSqgm5yJ0vod3xRyF3AuR1t2pzinA== X-Google-Smtp-Source: ABdhPJw1vnNfwdjX4lQtZiFOsARzuwsZy/53ioaofVl8JtAt0AWcQt/UJ/LYzy++sHrXwuIOYcHIuRkGSlGLRpYEytg= X-Received: by 2002:a05:6830:2366:: with SMTP id r6mr7019647oth.188.1625107936969; Wed, 30 Jun 2021 19:52:16 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?7LWc7JiB66+8?= Date: Thu, 1 Jul 2021 11:52:05 +0900 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] Understanding of 'rx_errors" counter X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "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