From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH 3/5] app/testpmd: add missing transmit errors stats Date: Thu, 14 Feb 2019 16:42:50 +0100 Message-ID: <1550158972-21895-4-git-send-email-david.marchand@redhat.com> References: <1550158972-21895-1-git-send-email-david.marchand@redhat.com> Cc: wenzhuo.lu@intel.com, jingjing.wu@intel.com, bernard.iremonger@intel.com To: dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id D93781B44F for ; Thu, 14 Feb 2019 16:43:10 +0100 (CET) In-Reply-To: <1550158972-21895-1-git-send-email-david.marchand@redhat.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" pmd can report transmit errors but those stats are not accounted here. Signed-off-by: David Marchand --- app/test-pmd/testpmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 984155a..3acd97b 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1838,6 +1838,7 @@ struct extmem_param { total_recv += stats.ipackets; total_xmit += stats.opackets; total_rx_dropped += stats.imissed; + port->tx_dropped += stats.oerrors; total_tx_dropped += port->tx_dropped; total_rx_nombuf += stats.rx_nombuf; -- 1.8.3.1