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 11D23A0C47; Tue, 6 Jul 2021 10:54:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80B2440688; Tue, 6 Jul 2021 10:54:41 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 1FCF74067E for ; Tue, 6 Jul 2021 10:54:39 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10036"; a="188761429" X-IronPort-AV: E=Sophos;i="5.83,328,1616482800"; d="scan'208";a="188761429" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2021 01:54:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,328,1616482800"; d="scan'208";a="491247095" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga001.jf.intel.com with ESMTP; 06 Jul 2021 01:54:38 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 6 Jul 2021 01:54:38 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 6 Jul 2021 01:54:37 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Tue, 6 Jul 2021 01:54:37 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Tue, 6 Jul 2021 01:54:37 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M49Ii0pWAyMbW9bAqxvtCgLnrMh1JcxXA2Er5HgwvoAiksYQwpSZ2j80ygIm9hlMGpxI1M9oeL3gzbM/g/f2w0PAnY78r0Issmtk+4QAjZjOC47/kuhzdFVaCqNEDcTxM8traNoVzZtSkiAzXlQWfCo1FWT6KWt8yKoGm1EQb23sNekqk1nkBvOuE3itG5XkcKcBsnQshm/M2vFnV1TVOwOipDPQpK4sAlthBhGw6uPlYlcmf+UP90J4sZROtciYSVhiousGUWW5/jQlOiv2JxIxf0HKXq71o5PivSjFqCuNIGdIlu10gNvEGTJZBKtiNj1Wz9OKitlTpqAifWoI2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GX1NBQepfLhgVLsG8nOCaitgWM8258YD7POcb2VyEQ4=; b=IIjxoN7vdlPsM+0h4egA+scQiMwB17F9fsMX5twidNd0u150AeQvKKBKPi4yqyARfX2QOrlnMGwZJLhutKZLnkkVl4zG7oVtYJdL8t4UhHXoPuFrxw/8hntT9k5v+J7zbPYuuCE28US4I2yUqLn8Qry0Xys2nTM85gs4BhXyAVbN/OtWmpo4IJJYmZPt2UDp0iOToVj4KVw0Kq67C3wsOCiRQcQiKSX2d0vH9FYn1I252lHOX5sQcJbwmICB8kY8j7pBwbS5n/i4sSh3aPRrJbQNNfFr0iM+r0pxT+zpEuDT3x6cT5X6B2aQksKHHZIfVkrstOUOgEyebjdLC7w7pw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GX1NBQepfLhgVLsG8nOCaitgWM8258YD7POcb2VyEQ4=; b=SmKph+cjUSxr9f8Jd3hpRA5XIJV70INeEvwOcpxVixRxvSD85C95xuMNeQT9lr7duG0YqqQ6PFNyVTcsBCsBKoKMsoACg6Abf+T86l79eb6iyN8T3UWzs/MgRbQrwUWiBoJK8H/ESuNVT5SCTxX/44xqA9dauOzX/WzqHWi06eY= Received: from CH0PR11MB5523.namprd11.prod.outlook.com (2603:10b6:610:d6::15) by CH0PR11MB5492.namprd11.prod.outlook.com (2603:10b6:610:d7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.24; Tue, 6 Jul 2021 08:54:34 +0000 Received: from CH0PR11MB5523.namprd11.prod.outlook.com ([fe80::c8d3:60b1:702c:2bd0]) by CH0PR11MB5523.namprd11.prod.outlook.com ([fe80::c8d3:60b1:702c:2bd0%6]) with mapi id 15.20.4287.033; Tue, 6 Jul 2021 08:54:34 +0000 From: "Li, Xiaoyun" To: Andrew Rybchenko , "dev@dpdk.org" CC: Ivan Ilchenko Thread-Topic: [PATCH 11/11] app/testpmd: add option to display extended statistics Thread-Index: AQHXWU/9MqseMo2rYkC1H/gje7yR7as11bvQ Date: Tue, 6 Jul 2021 08:54:34 +0000 Message-ID: References: <20210604144225.287678-1-andrew.rybchenko@oktetlabs.ru> <20210604144225.287678-12-andrew.rybchenko@oktetlabs.ru> In-Reply-To: <20210604144225.287678-12-andrew.rybchenko@oktetlabs.ru> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: oktetlabs.ru; dkim=none (message not signed) header.d=none;oktetlabs.ru; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.54] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b590df8e-a518-4717-8a18-08d9405bad8d x-ms-traffictypediagnostic: CH0PR11MB5492: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2657; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IHzaQT5B0PDreAHC/pbuYbp6VSF8rmchYx4Q1AigO0wNndrS8prxwYN3yo5pD0G2mwJwVQK2/2Si/CEQp6QVItn50juFBj7mzEIHEWCdjC1HNVeqq6oodkWLRXk+aIN0MTJVHFc+GDwajJBp1bqT2pVvzGsj/pOC0oFslkxwrWRKimeC1McOWjZWAeTZ76F1bRHxc7qDkNvLNgrVB6mjOVUvwoW8z3vkphgB1jEuTlVaHJ+nn2Wvt5MzOWhNIIkBXSE2NRoD/z005MAIuRAnzN5psa41hYLmlCy0x8RVCOZUQasXvvL629skx70duv03OcN/zn5WYgrhdzZHeAS2spxRaNVfC3nlnrSJbirpHAN53+dk63nm61VOlK1y+P9lvYcHQD2MRbx5t3DG1/JI2PfEuMAODec1A+A/lkro1GkHC9YG81jXKVCsRTIW7Khh3gUjj4UaGO0euugH26IesCJONsSw/JNHngshZpKO+k+C3yrcpkgQ74ErFupLXpIaDHlAVY/hilY2g2/1YIWrwmqyv6UVavMcStfeOdmOC2CUVO60hoTLRc2KieJHgZ6Ox1sruZt1hbvrmcyZ26QgKDiN6N0YTzsrXm8CZTpHB4UZElKLYTkfGx20NbuXi/uNEgk7QP9G30gb9Vx+rzQEkw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH0PR11MB5523.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(39860400002)(396003)(346002)(136003)(366004)(53546011)(316002)(4744005)(83380400001)(478600001)(55016002)(66476007)(66556008)(64756008)(66946007)(6506007)(66446008)(8936002)(4326008)(110136005)(7696005)(5660300002)(122000001)(33656002)(71200400001)(76116006)(9686003)(8676002)(26005)(2906002)(186003)(52536014)(86362001)(38100700002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KBO2+ifmjrEN5x+5T5DU9ltTpo6ekiTkYIiqZvq6ztLFrblBAY0PKqkWyeHC?= =?us-ascii?Q?hgRgmVVz8M/Rlawwo7UfjDn3PH8c0BA396555lRc3sX4wJVTz1poY1MwCZwI?= =?us-ascii?Q?CMq4XOu5TtTxasFcMlFDk7XaSzCzxnfIQimgo9DEs1ksfyDZxkOzXJW6YB7G?= =?us-ascii?Q?B5K1gV5gvfohW4JkzyawdyLBfE4bSgBPYLAH0EDps1VCvqhOQUGbHZ6fVrzz?= =?us-ascii?Q?x5esJKBNtCmz3NPgqBbOdFn5nineUDIZMg8GUV5Wp/OGZsGJ67BiD4EZ3mcx?= =?us-ascii?Q?b8hNtBIZ3DEiB9RPl46t1adT6FafCYUAvUgGbdMR2nlqq8ooxXrzeY2yaf9G?= =?us-ascii?Q?BMOJ3JtZM5X2pahIPI9xA5Zz/o0SOMLBhWc6TvQDKPK0lHm1+j1+Zn2431E8?= =?us-ascii?Q?tv7Om0746InqHI2fwRWBw11oojltCxnCRI//CkKXlNa7nPUvYJph4Akv8orw?= =?us-ascii?Q?ruKa5qdcz/PA6N7WtvuXCs9nHAEmqwyhRHbTdrv06HamEpMVxYQOujXw/1vf?= =?us-ascii?Q?UURmIGrRTsp59q7ndKhiaJuMA9Zz0wZKGdtyAazo4MwdOx+GYpmzaDakbmER?= =?us-ascii?Q?4DztZZfYaHOGVjNMBUD+ukoqGe1s/ciwDTOEwpt53QilAXRFfNOXM4Jfb9Cc?= =?us-ascii?Q?olKX3dRBmp2GnhadUU0OYHMuXLariRC3pi6NNja2lh9+0Wi16RYpHG/RUXmR?= =?us-ascii?Q?nsTBxdGFaArIqoLs8vpEAYdcgSoHNIrP4e1ItbFfkjry4jBiw9ycW+mLE9MT?= =?us-ascii?Q?vOsBQrorZbNiyFASHHtpRXDY2GnoqKQHtnES7hl8dZIDEjTNw1mxCVvzIQT1?= =?us-ascii?Q?UHlGa56wH9GDBjxMeAs5wN5+JROF5//yC4nmpL792tV9p43CdxhS+nyIL/Ju?= =?us-ascii?Q?zQY+x3OPRqnRvV+DfOEafAgI/pPPRktlaLnDGj4R4KWE1IZW6OK8pZkmfxo0?= =?us-ascii?Q?6lU81aS20Sm1JWnPF52rPD59JPmuFj6xxPVmwj/Jc1LExsi9z/6J/BCZyZIX?= =?us-ascii?Q?uKH40hhLq7rPZHiK4qqd5+sL2iDN5hz+QzgTvTP6KmfYuNRLfi6ABApktHrt?= =?us-ascii?Q?1d9cXq9APXxAZUJrlQQzI7a5p74dod+/n6xXKnVA7qQJ6xPzqTRg85ubpLzO?= =?us-ascii?Q?6+Oy5Pyf4DK3UXN6juJNUbguaJWe5e6xt9DX4QsEYQs0uLrpnuNQ8LW1ipf1?= =?us-ascii?Q?okxePsa4/te+MguDCAMh0eADU8EYa40PAeliWjW8LKNSwh6YHXCaulWifthG?= =?us-ascii?Q?DfasQh6IoPEnQTanHflAKJuMKnXwwnSvoKvH6/DW/WsbZTDKPQnk71neaipm?= =?us-ascii?Q?5Lk=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR11MB5523.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b590df8e-a518-4717-8a18-08d9405bad8d X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2021 08:54:34.6725 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: D8yCGhCSKxImemu2lawq1UqK1W6xlU26RydI3fsT3XVbiI6Y/2y8ljJI32QnvMD7uGrSV4Fnb+bMQK5Vntr6Gw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5492 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 11/11] app/testpmd: add option to display extended statistics 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 Sender: "dev" Hi > -----Original Message----- > From: Andrew Rybchenko > Sent: Friday, June 4, 2021 22:42 > To: dev@dpdk.org > Cc: Ivan Ilchenko ; Li, Xiaoyun > > Subject: [PATCH 11/11] app/testpmd: add option to display extended statis= tics >=20 > From: Ivan Ilchenko >=20 > Add 'display-xstats' option for using in accompanying with Rx/Tx statisti= cs (i.e. > 'stats-period' option or 'show port stats' interactive command) to displa= y > specified list of extended statistics. >=20 > Signed-off-by: Ivan Ilchenko > Signed-off-by: Andrew Rybchenko > --- > app/test-pmd/cmdline.c | 56 ++++++++++++ > app/test-pmd/config.c | 66 ++++++++++++++ > app/test-pmd/parameters.c | 18 ++++ > app/test-pmd/testpmd.c | 122 ++++++++++++++++++++++++++ > app/test-pmd/testpmd.h | 21 +++++ > doc/guides/testpmd_app_ug/run_app.rst | 5 ++ > 6 files changed, 288 insertions(+) >=20 Acked-by: Xiaoyun Li