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 6125AA00C4; Sat, 6 Aug 2022 00:01:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F23042CB1; Sat, 6 Aug 2022 00:00:47 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 6C8FA40697 for ; Sat, 6 Aug 2022 00:00:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659736838; x=1691272838; h=from:to:subject:date:message-id:in-reply-to:references: mime-version:content-transfer-encoding; bh=UTaGueyczIkg+vGQk3ztLBNkk2XznGrvomPpi8XHhGY=; b=Mx6ZOVOzJdih9883icvhZR5zNZDlqFkoSn+Z5qi4yFFeNp/Weo8JEVrf /pT6kAN1Gt/JqJaOf/j2XJMImJfJAFHOkV16iqPBI2k40ZP1qGc9BKJrj PGU7x7NmEP2aIy9d6IEUZF+UMmACkoONfFyFwr7wKppcDtZVWqM4NL0ws tHyHmKBzvYniDzOOWi/j3tYIt+377Uhqnv9bkszpnI01SXLpeq6snECTU xfMqyVqGRxB1TdDMmJplFmGaCj3pnSrHJij6XscMSl9IuUHIDhyyJu9eP g5ZFM4WXqE/WvNbyW4aB+jgdLJPHo4m2SLPlc4ZeX0+5BHtOYh4n7gzn8 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10430"; a="290308829" X-IronPort-AV: E=Sophos;i="5.93,216,1654585200"; d="scan'208";a="290308829" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2022 15:00:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,217,1654585200"; d="scan'208";a="693137592" Received: from silpixa00400573.ir.intel.com (HELO silpixa00400573.ger.corp.intel.com.) ([10.237.223.157]) by FMSMGA003.fm.intel.com with ESMTP; 05 Aug 2022 15:00:37 -0700 From: Cristian Dumitrescu To: dev@dpdk.org Subject: [PATCH 10/10] net/softnic: print the output port packet drop counters Date: Fri, 5 Aug 2022 22:00:29 +0000 Message-Id: <20220805220029.1096212-11-cristian.dumitrescu@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220805220029.1096212-1-cristian.dumitrescu@intel.com> References: <20220805220029.1096212-1-cristian.dumitrescu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Print the output port packet drop statistics counters. Signed-off-by: Cristian Dumitrescu --- drivers/net/softnic/rte_eth_softnic_cli.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c b/drivers/net/softnic/rte_eth_softnic_cli.c index 61221b2f2e..9f4c44579a 100644 --- a/drivers/net/softnic/rte_eth_softnic_cli.c +++ b/drivers/net/softnic/rte_eth_softnic_cli.c @@ -1987,10 +1987,14 @@ cmd_softnic_pipeline_stats(struct pmd_internals *softnic, out_size, " packets %" PRIu64 " bytes %" PRIu64 + " packets dropped %" PRIu64 + " bytes dropped %" PRIu64 " clone %" PRIu64 " clonerr %" PRIu64 "\n", stats.n_pkts, stats.n_bytes, + stats.n_pkts_drop, + stats.n_bytes_drop, stats.n_pkts_clone, stats.n_pkts_clone_err); -- 2.34.1