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 35D0EA09E4; Sat, 5 Dec 2020 14:04:44 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 17F3F4C8A; Sat, 5 Dec 2020 14:04:43 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 8CB694C7B for ; Sat, 5 Dec 2020 14:04:40 +0100 (CET) IronPort-SDR: j6gDhoEPjWWKizahszkXcVEjzWIDOK4KODKdf6/RVtLUYB3GH7EtV/YJzOBWz1vEBG3SlvOhK2 zrgLLlHghOUw== X-IronPort-AV: E=McAfee;i="6000,8403,9825"; a="235115666" X-IronPort-AV: E=Sophos;i="5.78,395,1599548400"; d="scan'208";a="235115666" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2020 05:04:30 -0800 IronPort-SDR: tfOWzOUmMdr2bVXYd+6TJCSJtzy0ZbFKh060qkRdkGV0bIj2blPBxK1L2CO+SCnEBh2Pco4hp7 W2Uq6SeNe3+A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,395,1599548400"; d="scan'208";a="541026409" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga005.fm.intel.com with ESMTP; 05 Dec 2020 05:04:30 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 5 Dec 2020 05:04:30 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.1713.5 via Frontend Transport; Sat, 5 Dec 2020 05:04:30 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.174) 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.1713.5; Sat, 5 Dec 2020 05:04:30 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cJjsZxm92lVOfG5q3brnc0+QlCGxQNJA9fRvk/lUlBKTlTL4UFO5ZOFMA2meUfoe96vMlSHs/TPRSlnqsiZt4q6WPn+WivbIp/1N1HQkqaxxv89heBBdeCto2yWmPsFQzFRdpNmuq6kknm+vukIoKrEpP+40hB3zJ8snXzGFmCvT6GuMdr6mHZ4IyTke9mMUL3Rz4LIWSYM96/C7y0XV/lc1/xyY6HSRg8p5ykTDabojyGE1seXSPeYPHYS6l0GpJuYKe8b7rkn4kPGDx/1VZdWqZyESdqw2mvInkSXgFujfQO8JvjXtkh498sxZkoo0Xrd057VjFDLXWVD57o95nQ== 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=m6LgNdcd6ikTGiENuguwoT8ZC5HbOfehm+bgVmF9V+c=; b=nBkUh4vpSF/Kas4i2HowSUi7xCgeIgCf5XIhn2qGQElZzbxMA9MSVWUe0uFC0M+DwzV4ZDCWgg+RyxTxEJnVdtqSHPWJcrwPC2pGFV+54BmTi+haMiW9u28WNq4UOiki+TOR2vtq6TNpD58b9T1C5q7+9OtQMSIc0/9wr4pSa6hMG8iPW9LCSiFmJnGEz+xq69awkGidYCUSMzlW9D/OPQnHbd9aqTurhWuPKXv15qQWzn8eL5SqJbJrjcuwymqq/fuR5bofxLYIZGm8w4FHv2PVqLttfrWunojMRiN2qnow5todjz2bICRDesWa0wkhpD2AaQLlNAOMDfrreR3tqA== 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=m6LgNdcd6ikTGiENuguwoT8ZC5HbOfehm+bgVmF9V+c=; b=o/hMRKfdc9kCwHayWoxJtyPlZxRXJFCzQGfGLOwJxlAZZIozlayNnXcDgtqlX15J/0kS849fBM3VZXj+kmnf0Dxedtf2HPSJpQ8RecNNdJFkhs8OZqIfoWCBAurP67Li3VOm3I9GiAgpy9n4G9QUxM2fMYl8JEAH3AKP6HYi0T8= Received: from MWHPR11MB1581.namprd11.prod.outlook.com (2603:10b6:301:d::9) by CO1PR11MB4801.namprd11.prod.outlook.com (2603:10b6:303:9c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3589.20; Sat, 5 Dec 2020 13:04:28 +0000 Received: from MWHPR11MB1581.namprd11.prod.outlook.com ([fe80::556:15d2:6ce4:d49d]) by MWHPR11MB1581.namprd11.prod.outlook.com ([fe80::556:15d2:6ce4:d49d%2]) with mapi id 15.20.3632.022; Sat, 5 Dec 2020 13:04:28 +0000 From: "Varghese, Vipin" To: Hideyuki Yamashita , "Lu, Wenzhuo" , "Xing, Beilei" , "Iremonger, Bernard" CC: "dev@dpdk.org" , Hideyuki Yamashita Thread-Topic: [dpdk-dev] [PATCH 3/5] app/test-pmd: add to use apistats Thread-Index: AQHWyhKjGAws7FKr9EeGCLayCRoHvqnoedfg Date: Sat, 5 Dec 2020 13:04:28 +0000 Message-ID: References: <20201204075109.14694-1-yamashita.hideyuki@ntt-tx.co.jp> <20201204075109.14694-4-yamashita.hideyuki@ntt-tx.co.jp> In-Reply-To: <20201204075109.14694-4-yamashita.hideyuki@ntt-tx.co.jp> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: ntt-tx.co.jp; dkim=none (message not signed) header.d=none;ntt-tx.co.jp; dmarc=none action=none header.from=intel.com; x-originating-ip: [202.164.130.107] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 267d4714-fd37-48fe-734a-08d8991e4caf x-ms-traffictypediagnostic: CO1PR11MB4801: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eVZ6ELXL/ae4vQKgshmBPxff5W9SUpuhtPsVkvjknzWQ8/2TGyYahSzrvWoNIIfZTf+7UhFm8PH/9TTlVK6P0Sm4bLNdeE+b3VV7TL+wdw/9fcv3qOxzzzFeDDBm/Bcnls15dZuPRnfV1Vt+JtbdLmdwYG5+8AkfH+P4QXOdREnchKKH4hAj87tbv+105tmI8+BPQzMd5Fn2If3OqLslCfY9t9Dq2Y/I01CW/Rp94F3fGv3uxF29QXh9k+mux26pzbWVFjrUCqQutBiioJenL1k1l+ejvF6ZajGD1YtQiT1PSld7n5IxTgtHZVaw9Ey0 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR11MB1581.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(39860400002)(136003)(366004)(396003)(346002)(26005)(110136005)(4326008)(71200400001)(5660300002)(8936002)(4744005)(86362001)(9686003)(7696005)(186003)(478600001)(316002)(2906002)(8676002)(33656002)(55016002)(66556008)(6506007)(66946007)(6636002)(76116006)(64756008)(66476007)(66446008)(54906003)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?jompFJM798DZo19nayERtekvL6EYHEpnnJQUE8VmQWR2dLNJ6os4/6XtPM7Q?= =?us-ascii?Q?Y+67EQipUgFbicOsBrZ7BOAXmKfj9A/U8JPeNNAGlYOh+JQFaQGDmp0ys3N4?= =?us-ascii?Q?o/Cl+0KBj3MqH7NWXh8XJBLyFyRSW7hH5DxgI8qUfcU2abC63mOSXX9lG6Vg?= =?us-ascii?Q?hNe8pU2OZmqJgJ/GXxKl0zV0pfzSWuLxt+f63GkcEqOErihIcI7JKg1s7g7a?= =?us-ascii?Q?PaLi+PjetXHUE2I+j1SJAQiIA05y170gf1XDUzCmOdTBSgcEqcRHxuVBPuCi?= =?us-ascii?Q?jFXP96yrjnNdAt54OUS0LodPKfNTgVA3ruC0Ff6li0NC/W8QCBU5z21uG1BQ?= =?us-ascii?Q?0jjWiPdjz49Xrxs/gF0Wnb04OvMsEbMztfXqHlI91+sclpojtYX79alhpRsH?= =?us-ascii?Q?EhIQfp5wZy+YXqhrqc2sLhtUx5YhrH0fg+FRqrPABSlEdZqJGfYST6h36dDG?= =?us-ascii?Q?zCcKFtqVzRcnhYgyPo808SIynlHCfzuj0AjGvIuq7jNGK2HpeedRsP23ZBjM?= =?us-ascii?Q?7HrnNZOeaqH2/sHVfEx+e8pI99IX1V0BTjk2Q/Dzw1iJ8I6RfGdh+mjavPY+?= =?us-ascii?Q?/xtOb5SU857nnsXxSpftMP1PM2lHU1/Fd3ecddD2swVRoxkx390BJQar+Xbf?= =?us-ascii?Q?peGxq2qRnn5EBpboAso2ZPxG1FfQc083hdC+dlOCSSImHgWCuSYIUP5jLiQP?= =?us-ascii?Q?FxFiQeJAn3NQKaCc2kecycRt/E/QELSzOcK+NnCLLS0rL2Z1QMmo8hXkncxm?= =?us-ascii?Q?Rl6d5goMdBxx61c5SxakFZi4hQxvzl0XjAsMlHXG854D8HMag3p31p5yesNM?= =?us-ascii?Q?xvAU8GhULrjt+Ltw3mIeUQGqACxQJ0VCSGbHXRdaGh+aUMaEnpqOf90ThXqA?= =?us-ascii?Q?9Q9djK9EfW/0Kd5Hni2961q6QMsJZGrzqr1VMDBNGgYPCcA2fFr/uZD4XpFP?= =?us-ascii?Q?YpRxDKMQwlNCJ5EDpT+Fx2v2ysQUdT2BtJRIMmhPOfE=3D?= 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: MWHPR11MB1581.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 267d4714-fd37-48fe-734a-08d8991e4caf X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Dec 2020 13:04:28.6411 (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: XWaledKdo4yKT98SZjgFWJZDhwAuQCI/SLsxreE4hVFMoiRlgiQtiPT39suvND6URrp8BdxTWPnCWtXyu4IzSiSS5ZNrk4o4pckwDk8I+cc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4801 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 3/5] app/test-pmd: add to use apistats 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" snipped > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -60,6 +60,8 @@ > #ifdef RTE_LIB_LATENCYSTATS > #include > #endif > +#include > + >=20 > #include "testpmd.h" >=20 > @@ -3958,6 +3960,8 @@ main(int argc, char** argv) > } > #endif >=20 > + rte_apistats_init(); Suggestion, should there be am user argument or option to enable or disable= the feature? > + > /* Setup bitrate stats */ > #ifdef RTE_LIB_BITRATESTATS > if (bitrate_enabled !=3D 0) { > -- > 2.18.0