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 ED892A059B; Fri, 10 Apr 2020 10:42:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 489CD1D178; Fri, 10 Apr 2020 10:42:15 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 4C4202986 for ; Fri, 10 Apr 2020 10:42:13 +0200 (CEST) IronPort-SDR: oM36zdF4cuC1NRL/As4FRjo3huqXK8gWF3tcscimjvymJBOBsBL+OZ6qjqct3t3nJWeTlP865S SHQF0Z/9hCfg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2020 01:42:12 -0700 IronPort-SDR: 301xP/gf9atI0NqwzsCahOuC73Ztji2kr2LShwDJ3U9sLnxlII+ubBpRrX/SjUa7dmIseWJgT7 vSPNkRy1MEsw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,366,1580803200"; d="scan'208";a="240891235" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga007.jf.intel.com with ESMTP; 10 Apr 2020 01:42:12 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 10 Apr 2020 01:42:12 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 10 Apr 2020 01:42:11 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx606.amr.corp.intel.com (10.18.126.86) 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, 10 Apr 2020 01:42:11 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 10 Apr 2020 01:42:10 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A7DkqxSDeZwEdevp+NGsMFV0EqFMNcfcATc3oPduSvHHcYyCfEfhtfl80PwjSwJaMooEYHqh07soWFX6kKm9xxv/lnD5+BO2m3wAJB4IvLYawK0on/KK910AAfg/afdqmANOO/2IX9xrrFhEeCP57BHBdAiCO0mnD7ZzZWN//DnktTHVcSMyUOIxPhj7uhuMM1i9k2RteacXkh5bWyxWIU7yz0KJ7qwG0ke1khcI13AOdWOct+bM9zrMWn5VIvMkiHR08EaDt5b8UQ50H70R4OxG7+H86vbnfGEYSMjVJMCMei4sGAoOTfMr5NT1o4pa1e4VLSPj9m3wDr+0m/rLbQ== 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=IzSG3dx+6I5oXRfSxia/xUl4nb+WE+TSBli9Ujr5bTg=; b=US+W7/47kPugWttuMMq7N9M/otWa5k2THgMPig2zpOzCm0MApqJAHuHF3PRNm10EdOERjVuJBHMOMWN+TFsVcUrInwETilRTNcrKqnvCFATUYsLMaNds0WX76pcW31cKN2GmtdklZYycuSmQv65z1Zskzz77pPaaZuRFpCSN9QsMNLe6I3CTasP3qsZAYSy7YwxsKbCsDtuW8BaeXDhsF4kTJwD+/TijBmcdZgefHSARNOfpvnNqVgUYNkEmj5LUv/vY80HsA1Wxyw2f4j/azLhUa40s+ex/1Oj7R9s+kGGy9Yelx0r44luBt69YXx3nsqRamU4fpiYr3Bmdn357yA== 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=IzSG3dx+6I5oXRfSxia/xUl4nb+WE+TSBli9Ujr5bTg=; b=atggVKgVWB3afq7Xx9dzbC5Dk8iSl2CN5pfK71RUmTOwj6PQWbjucBkJDL75gpYiy88/ME8WC6LlEybiD/4Dlv36WzToGnxJhIQfZ6HjpHwVCwuUDs631znoGXPjoowDSCIfL4AVzJ4tzn+adyUpDA/Ah5zch+V1W/S+NivbKXc= Received: from DM5PR1101MB2105.namprd11.prod.outlook.com (2603:10b6:4:51::23) by DM5PR1101MB2316.namprd11.prod.outlook.com (2603:10b6:4:5b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.20; Fri, 10 Apr 2020 08:42:09 +0000 Received: from DM5PR1101MB2105.namprd11.prod.outlook.com ([fe80::ccc8:9ba4:5cfe:904e]) by DM5PR1101MB2105.namprd11.prod.outlook.com ([fe80::ccc8:9ba4:5cfe:904e%10]) with mapi id 15.20.2900.015; Fri, 10 Apr 2020 08:42:09 +0000 From: "Pattan, Reshma" To: "Power, Ciara" , "dev@dpdk.org" , "Laatz, Kevin" CC: "jerinjacobk@gmail.com" , "david.marchand@redhat.com" , "Wiles, Keith" , "mb@smartsharesystems.com" , "thomas@monjalon.net" , "Hunt, David" , "Richardson, Bruce" Thread-Topic: [PATCH v2 11/16] examples/l3fwd-power: enable use of new telemetry Thread-Index: AQHWDchvBbm3I+i2akaPfwZA8n/dF6hyCqGA Date: Fri, 10 Apr 2020 08:42:08 +0000 Message-ID: References: <20200319171907.60891-1-ciara.power@intel.com> <20200408164956.47864-1-ciara.power@intel.com> <20200408164956.47864-12-ciara.power@intel.com> In-Reply-To: <20200408164956.47864-12-ciara.power@intel.com> 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.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=reshma.pattan@intel.com; x-originating-ip: [192.198.151.162] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6d11b66d-80eb-422e-bf52-08d7dd2b0e57 x-ms-traffictypediagnostic: DM5PR1101MB2316: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 0369E8196C x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR1101MB2105.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(39860400002)(366004)(346002)(396003)(376002)(136003)(7696005)(186003)(110136005)(2906002)(6506007)(66476007)(64756008)(66946007)(5660300002)(76116006)(66446008)(66556008)(316002)(86362001)(6636002)(26005)(71200400001)(478600001)(52536014)(4744005)(8676002)(33656002)(54906003)(9686003)(4326008)(55016002)(8936002)(81156014)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: z8pOXyCEQ/YH+B8aglgWRmSsQ8kqyGDdQMSdpolUQyY3yFEJKGlI5MnDz3wUzP1ne6BdQInxjc2PK/Nlv1crx50Wfrqz+vO63LTMdIyKikFY61qa1lUHoPfUhVwOVPRbamybNXhhUEhLi4ftZlEJVLnvG+Ub7jJl7bwCtTskLPXUgwN6hE3wSL+o1o1utlMwprEnIQVRTuCe3oy7i2xabkcmVDyXJlLMa80PguWAj8iXawSKAth4rnWN/xEXZfFP+idw5OsG9YuTQzjUhAUSvS/kVjRTUCANopoaZvw4GguNreXghgyU+H7y9TUisPZYOjQOShnqs0HcRqwffrWRIiDAxzyFCoDudefSGaDkZ0D4zWrqPab88S16v41PODXaNQ7gniJ7S+B/OtlRiFsNHcLQwe5PZ9za8aZFW5kgiw/oLawAolJazBECUx6Q2ik6 x-ms-exchange-antispam-messagedata: M0ja+RWlP8HYE1LBUQWGayUgYEEWADqSumqNVgHbyWnyFBm1P0P+lx4rHuq/SXf1OBs7cNg8j/9NrtXn3rxQFqvAL2SpS6Kc2Jcrl61e9bh/4E+EjJ6ZNgRXamqIJgIJ61khv6viH/gV7m6Ih2VjmA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 6d11b66d-80eb-422e-bf52-08d7dd2b0e57 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2020 08:42:08.9298 (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: NK+uhx4m1R7+aCI2kW0bcNrlI9lWUD/Bq/RZ2R6qjub4+TKchnZSajcud+DLgEfYgfqkrbCBS5Xv2LgGNbpB6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1101MB2316 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 11/16] examples/l3fwd-power: enable use of new telemetry 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: Power, Ciara > --- > - > +#define NUM_TELSTATS RTE_DIM(telstats_strings) >=20 > + > +static void > +update_telemetry(__attribute__((unused)) struct rte_timer *tim, > + __attribute__((unused)) void *arg) > + uint64_t values[3] =3D {0}; Use NUM_TELSTATS, in place of 3. > + uint64_t values[3] =3D {0}; Use NUM_TELSTATS, in place of 3. Thanks, Reshma