From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9786EA046B for ; Fri, 26 Jul 2019 04:46:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8738E1C384; Fri, 26 Jul 2019 04:46:26 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id B93971C384; Fri, 26 Jul 2019 04:46:24 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2019 19:46:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,309,1559545200"; d="scan'208";a="189512296" Received: from npg-dpdk-virtio-tbie-2.sh.intel.com (HELO ___) ([10.67.104.66]) by fmsmga001.fm.intel.com with ESMTP; 25 Jul 2019 19:46:22 -0700 Date: Fri, 26 Jul 2019 10:44:32 +0800 From: Tiwei Bie To: David Marchand Cc: dev@dpdk.org, ferruh.yigit@intel.com, stable@dpdk.org, Maxime Coquelin , Zhihong Wang Message-ID: <20190726024432.GB19522@___> References: <1564046068-21905-1-git-send-email-david.marchand@redhat.com> <1564046068-21905-9-git-send-email-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1564046068-21905-9-git-send-email-david.marchand@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-stable] [PATCH 8/8] net/vhost: do not count unsent packets as errors X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, Jul 25, 2019 at 11:14:28AM +0200, David Marchand wrote: > missed_pkts reflects the number of packets that the driver did not manage > to send. > This is a temporary situation, those packets are not freed and the > application can still retry to send them later. > Hence, we can't count them as transmit failed. > > Fixes: 5f05e95cd5d9 ("net/vhost: fix Tx error counting") > Fixes: ee584e9710b9 ("vhost: add driver on top of the library") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > --- > drivers/net/vhost/rte_eth_vhost.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Reviewed-by: Tiwei Bie