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 D3D2BA050D; Wed, 13 Apr 2022 16:57:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2ABA410E1; Wed, 13 Apr 2022 16:57:50 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 275B84068E for ; Wed, 13 Apr 2022 16:57:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649861869; x=1681397869; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=xopY9NoSm+c/v5eSM5/6PSWHmyV0uEWhFkIEkTcJMZ8=; b=RLTG3GKqapEUhVlLjymByREptCSoagi0uqFsr9Ywmh4yoCRo4gCqY7qp gBuhWjIxf4RBxKCQa/e0k7QxB5t2FcfFRZhcB94uFGKMaFfCBeOGXYcK0 M0Qu+FOUOiozplqkaby1Gi33vqkvZekgFEOCKDWwn8KJXI/95EGCtxq9t SqFN3AUXmx5fAgxMmcb+18DnMmU8Gn0a6at0tCSngZgZIept22FyPDN0h lrX5MWt5fUWXAbXe3AVSK/bPFZzlykbX0sFcShCfOSmrpZOBR+UJKJpe3 6U4YIC7oGXQGo0h+mHIDonN0BEFRxx/fRpkhXAvO/riTOm7EkuX8t2aP9 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="242624409" X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="242624409" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 07:57:48 -0700 X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="724931916" Received: from bricha3-mobl.ger.corp.intel.com ([10.55.133.40]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 13 Apr 2022 07:57:46 -0700 Date: Wed, 13 Apr 2022 15:57:43 +0100 From: Bruce Richardson To: Chengwen Feng Cc: thomas@monjalon.net, kevin.laatz@intel.com, dev@dpdk.org Subject: Re: [PATCH v2 2/4] examples/dma: fix Tx drop statistic is not collected Message-ID: References: <20220411025634.33032-1-fengchengwen@huawei.com> <20220411121459.23898-1-fengchengwen@huawei.com> <20220411121459.23898-3-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220411121459.23898-3-fengchengwen@huawei.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Apr 11, 2022 at 08:14:57PM +0800, Chengwen Feng wrote: > The Tx drop statistic was designed to collected by > rte_eth_dev_tx_buffer mechanism, but the application uses > rte_eth_tx_burst to send packets and this lead the Tx drop statistic > was not collected. > > This patch removes rte_eth_dev_tx_buffer mechanism to fix the problem. > > Fixes: 632bcd9b5d4f ("examples/ioat: print statistics") > Cc: stable@dpdk.org > > Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson