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 BF500A0613 for ; Fri, 27 Sep 2019 16:04:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6C14B1BED0; Fri, 27 Sep 2019 16:04:24 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 14CF21BECC for ; Fri, 27 Sep 2019 16:04:22 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 07:04:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,555,1559545200"; d="scan'208";a="273817943" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 27 Sep 2019 07:04:21 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 27 Sep 2019 07:04:21 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 27 Sep 2019 07:04:21 -0700 Received: from lcsmsx153.ger.corp.intel.com (10.186.165.228) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 27 Sep 2019 07:04:20 -0700 Received: from hasmsx114.ger.corp.intel.com ([169.254.14.116]) by LCSMSX153.ger.corp.intel.com ([169.254.8.223]) with mapi id 14.03.0439.000; Fri, 27 Sep 2019 17:04:18 +0300 From: "Baran, MarcinX" To: "Richardson, Bruce" CC: "dev@dpdk.org" , "Modrak, PawelX" Thread-Topic: [dpdk-dev] [PATCH v5 5/6] examples/ioat: add stats printing for each port Thread-Index: AQHVb4aOKodY17yStEaEvAT5/ZthWKc/JtUAgABy71A= Date: Fri, 27 Sep 2019 14:04:18 +0000 Message-ID: <06CDC4676D44784DA2DF9423D4B672BE15ECCCD0@HASMSX114.ger.corp.intel.com> References: <20190919093850.460-1-marcinx.baran@intel.com> <20190920073714.1314-1-marcinx.baran@intel.com> <20190920073714.1314-6-marcinx.baran@intel.com> <20190927101238.GE1847@bricha3-MOBL.ger.corp.intel.com> In-Reply-To: <20190927101238.GE1847@bricha3-MOBL.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.184.70.11] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 5/6] examples/ioat: add stats printing for each port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- From: Bruce Richardson =20 Sent: Friday, September 27, 2019 12:13 PM To: Baran, MarcinX Cc: dev@dpdk.org; Modrak, PawelX Subject: Re: [dpdk-dev] [PATCH v5 5/6] examples/ioat: add stats printing fo= r each port On Fri, Sep 20, 2019 at 09:37:13AM +0200, Marcin Baran wrote: > Added printing stats of ports each second. > The stats printing is done using master core. > The information provided informs about packets received, dropped and=20 > send as well as statistics of rawdev devices. >=20 > Signed-off-by: Marcin Baran > Signed-off-by: Pawel Modrak > --- > examples/ioat/ioatfwd.c | 245=20 > +++++++++++++++++++++++++++++++++++++++- > 1 file changed, 241 insertions(+), 4 deletions(-) >=20 > diff --git a/examples/ioat/ioatfwd.c b/examples/ioat/ioatfwd.c index=20 > 4c51db6bd..c6b994832 100644 > --- a/examples/ioat/ioatfwd.c > +++ b/examples/ioat/ioatfwd.c > @@ -48,10 +48,27 @@ struct rxtx_transmission_config { > uint16_t nb_lcores; > }; > =20 > @@ -363,7 +587,7 @@ ioat_usage(const char *prgname) > " When enabled:\n" > " - The source MAC address is replaced by the TX port MAC addres= s\n" > " - The destination MAC address is replaced by 02:00:00:00:00:TX= _PORT_ID\n" > - " -c --copy-type CT: type of copy: sw|rawdev\n" > + " -c --copy-type CT: type of copy: sw|hw\n" > " -s --ring-size RS: size of IOAT rawdev ring for hardware copy mode = or rte_ring for software copy mode\n", > prgname); > } This change is not relevant to this patch, and should be corrected in the o= riginal patch of the series. Try to avoid adding a line and then modifying = it in a subsequent patch in the same set. /Bruce [Marcin] Moved change to first patch.