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 596EAA0C47; Tue, 12 Oct 2021 10:35:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 436DC410E8; Tue, 12 Oct 2021 10:35:14 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 0E33A4003C for ; Tue, 12 Oct 2021 10:35:11 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10134"; a="227366372" X-IronPort-AV: E=Sophos;i="5.85,367,1624345200"; d="scan'208";a="227366372" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2021 01:35:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,367,1624345200"; d="scan'208";a="524142879" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga001.jf.intel.com with ESMTP; 12 Oct 2021 01:35:10 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 12 Oct 2021 01:35:09 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 12 Oct 2021 01:35:09 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 12 Oct 2021 01:35:09 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.175) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 12 Oct 2021 01:35:09 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MXMhIRJf7GZ9LK9IbIUDeSejqqg4oVy+N1SmuqRcdzqwGFqrrk8LjkdnKn+yZufYNNqu1mDQ6bSQegYCU2KtrOAXGYF2PcdxQk8XA+Gb9/UpQDmQ7GlAZuMrCxPa9nVdePWPGR+VX1Qh2QKCCxNMEUFFpAnFT+MGKKzacIx8LDoLVYmQ+nYkRvS8D1rW4GonDhKmxhKmtRYVzLAAtzlNxmddw1qQQWRsQZRGUS8B0afOl9eTSVEwjyNMYICtrYPBhFr2G9gu+ead2fyJfEUlMvHLTm+12Zxiu4o5YAq6Add1VVqBv47UrNc9sGnYLwOY7xLyAnOSvKqTCx5af/UkVQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=U0vmcQM3r1dxTpB9/7uNWLvvDGHsV7jcD5kEWOayKjg=; b=DR1TqApePW30m4VOUY+okTZAAZoBnz3Mn4g/IY0S10NzFh3773+KJTugToI3SQyxohtdScpy126vkzv67cSWgXsyJD7NaL6lcVRauX8zwNfmLClQvtQ0c6v5JZCCC6bToYPh2O9kwWR8awo+o+JcXUyd8pjnZm9qrcoUaMPD1jMiybexbcmvj0waCIMZ+YtDxdtqRlsRWKTZeo0bZ/+uyda45/KNr1D7fCdWbg1SPKcIbFyPrhNL0hIOb+3Pwxeo2DCn35fJa/PV06DyJEaFgHmltUnH9tj4GWuQ37uaw6l3ZhUUTbldjUoHKfKQRY9XX/vWSO6t9+E5RcxwRUvuOw== 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=U0vmcQM3r1dxTpB9/7uNWLvvDGHsV7jcD5kEWOayKjg=; b=mEBWJT+R2GiX7T+PW7NRfjj2qpjNs7rzQIB+b3tM14AlkfbWW1lEIzaPkjBkZXrUDSmOuZQDYqrimRTlQmiQzDEmjMDtQvkLLgfniLRp3kFLPEk3Bf/dUkCXT85dPI/37O6lUPyJMKUbxOidde27OjTK5Fh9Wjy/0a98IWt8G74= Received: from CO1PR11MB4882.namprd11.prod.outlook.com (2603:10b6:303:97::8) by CO1PR11MB4833.namprd11.prod.outlook.com (2603:10b6:303:99::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.25; Tue, 12 Oct 2021 08:35:06 +0000 Received: from CO1PR11MB4882.namprd11.prod.outlook.com ([fe80::2df9:a342:1f49:6260]) by CO1PR11MB4882.namprd11.prod.outlook.com ([fe80::2df9:a342:1f49:6260%7]) with mapi id 15.20.4587.026; Tue, 12 Oct 2021 08:35:06 +0000 From: "Kundapura, Ganapati" To: Jerin Jacob CC: dpdk-dev , "Jayatheerthan, Jay" Thread-Topic: [PATCH v1] eventdev/rx-adapter: add telemetry callbacks Thread-Index: AQHXvrtESIjrf0cZDkqrpKe3CWFI3avPCduw Date: Tue, 12 Oct 2021 08:35:06 +0000 Message-ID: References: <20211007125734.2326512-1-ganapati.kundapura@intel.com> In-Reply-To: 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.6.200.16 authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a96c698b-7d53-4442-db49-08d98d5b31c7 x-ms-traffictypediagnostic: CO1PR11MB4833: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:124; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mJJ0knWWQnsZVXq/N3ncrRCCiNknMj3oVi1ovalKzdhvrwzxnNOTZlLQ/RyoMi/krv6hZiFA8dgbRJ1lXo1d4BUz5IHMFMnbETrMy3SAum3fuFBoDcOEbsb+Yu5pf0xdc2B5Rc1ypEu9CUSzoZeyOzq/Y5DnhXjEL+rAW5u3sEIgCPQQI8BrJpwqugWK4UoZaOrOKPOumVK/PyPnit490g2AD0miPbGdtge8SZkyAXKAJUNWNZCrJ56J8UafvuohaYQMfLi0QMJJi+WobiQ5lOvgT2C3AeURl/wxp8m2mD77F90WcpsquzrdAjYw7CE98waxlG2oNCfAp4tF4lotHnJai286wXlyCiuP7Nt7hvlYHtmym0Vxlu0OnyEaHqA1LUgrAGiuU/8Y+EGRp3JnF3lLVC3nQQQ4YDj2oW03Y7l3n7Zt+7iVGgOWT4sVEx+LPJ76xyMyhy9a9vGKtYrqtIvABBSdTtKEkOZVWTujpZ5qfGA3D17fAWjnQVOtSRk7mhgc+Jv9Uc0kN45xMQyPBOioezwRtl8nS9FL9NmR2iB3lsUdLi1REKIcQfz7dvYEsLEm0VvSckghj3ZXRkst0kCuNSBwztsjMvXeNaAl44LIBztvAQ7clWnQp7i5EpQdgnSiGP6RMtXKD4cpvYIyFN2jkuFdV34nXe40PsrLIvyZhOYlHuFK6mzYjMJrg0WXhcOSUndsN2hRTSTJ85BJ2A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB4882.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(76116006)(38100700002)(9686003)(52536014)(122000001)(55016002)(33656002)(7696005)(508600001)(38070700005)(8676002)(8936002)(66946007)(66476007)(66556008)(64756008)(66446008)(86362001)(83380400001)(5660300002)(186003)(4326008)(54906003)(6916009)(26005)(107886003)(53546011)(316002)(6506007)(71200400001)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cWo3blFYYnRxMWIzbldueHVTNDBQUFN0a3ZqVm4vL2xTNm84TmZpQ2lIdDdO?= =?utf-8?B?UmlKeisxbTErdGRZRUFuTTdiRVloWEZoT0RxeGpuTllRMU1rSHlaaThhTGU1?= =?utf-8?B?SzM3bHJ1OUE5VnZWK0grbEg3YlgyUjNJTDN5Nm45d3JNc1pwODRNc3h5a1dj?= =?utf-8?B?U21XUFBKeDhaY05GZHRvTmtwV2p5K2JZcEJNV0psRC9Zc3M3dmt0VXROVDFt?= =?utf-8?B?NW1Xb0syZ0QxM1NCZGo3TGJHa3pRaVpMdEp6ay9lR1pMOU5uOGJCenYvQlJH?= =?utf-8?B?OXQvTm54TU5MbVRqc0F1eTUwaUNWRHVyNk1CTDlnV1pkWm1KQ2JicDBHaEtj?= =?utf-8?B?Yyttd3lyc3FabFJPdmliZGtBbUt2dVNhOGxmV3hxRzFNTUU3aTlaQlQ3RXVw?= =?utf-8?B?ckgxTVFrWWVqcFhWajRtZnp1ckVUZFd4N1FxUjF5QTZNMzF4aTRYOTFTVlpk?= =?utf-8?B?SUM4UWprcGo4MnVEZlhEQzM2ZzQxa3pnSmFYcWMzSUU0ZW45K1BKVzBzNnA5?= =?utf-8?B?SHFTVUZiRnRYc0lhWmZmRGlyM1VNSk9zME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S3ZuN1dOdG5wUWVxMkhxYzlLWTNyMXcvWXYzNGs1Y3FGSnFmamNo?= =?utf-8?B?R3QyRUtKaTlOZ1ZXOXJERTF4UmphTkdRK0g3aFV1KytXYmUxMGp6NVk1dnJ2?= =?utf-8?B?THVDNWpaYm9ESzFKMkVVUytvaEtKVjhtc2Zhek5ta0NucmNUMkJjWUludjY0?= =?utf-8?B?VEFmNVpESnhJYmRJMVNkMCszZzRBcjYyM3o5QllBaU8rQllFZDlSbTZ1UGQ1?= =?utf-8?B?NnlSN3BEZ2szbWcxdnNJcjNFNkxjY0pHWlROOGw4aGMyNnV6bktpWi82RVlh?= =?utf-8?Q?XtgjEEBDwgE1rO7B/qHlfh/VmGmbEc2X2fbQMR9?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4882.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a96c698b-7d53-4442-db49-08d98d5b31c7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2021 08:35:06.5083 (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: oH4kKpf3Q/rT3DywMgj0AOHOQRuqILlonOlVm+sTA5K4C4rfy6wpN/J9JRB9yLyMG8Op3Lbiw+9CCuI3uSa5OtrI5AGf+X59Mbpq/bjytVU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB4833 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] eventdev/rx-adapter: add telemetry callbacks 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: ,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