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 02C9EA0540; Tue, 13 Dec 2022 09:05:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E204B4021D; Tue, 13 Dec 2022 09:05:07 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id EDD5740146 for ; Tue, 13 Dec 2022 09:05:05 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BD30mMb003852; Tue, 13 Dec 2022 00:05:04 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3mcrbvha4m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 00:05:04 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DRCyqoV/jDPVMsYRkn+zyKHsgebEQf6XVpBYQ41WZnG98HMLVDDWEdQpE5/swa+IeUVtFQ8zQaPBf8QamXdnimy5LXsn0XnX3GdsKHW7i9VcM8yhR3EUYETtoLspoEsxnjQZx9v1+ucZmZVdQ8dxfJ+mN7y/mgCZMRPH8Lxs62O85dkevZFkftcgXzD2U1nOeN2wsQC2jILU/imFdbo3aKMiGBYyM87Z2xtVPLQ/RN9gGe1Bqlx7AppiR+8H5TzdTC+d1vePtv/68aoCs1r/Wh/0PdPJ5lc3Lu2xOnaJt2e38BlMbgglDGaznyGINFb9X+DNB7CJohEEDaRoLV/9jQ== 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=QvWTtUeAwuR0kdm+BVQsQIXehEzoMliweCMr3hbJCuA=; b=jTzyakB56fyVOp0xsUHsx5xcVCXaMLUjjgAEiM61+joXcDvU3oxJCVTcNwlgoa8+MAhDgr/hTyvD7FTggsgUdbD5Z6hZhRLRKT7+1AZoxnL2k6SUzc0MAIfc6ar38hHWec1DktILgPW8vgwGD4PYJ3XLcU1FsO3wEdjvLKCaeqUmEM05yJH4xrjhFsQ2xgKHiBFEFThnSt91egRHP2kU4Hh/t+8aoAeijfZUGW3eeO2R78teqskpuxFSZqDiHUS/MYtiFwuwsuLYid4JOrz1OxI1DuoBiupXMGFWMEnmyu8gEtijpYOXElyAhj46XQeTqCPCKYbvWgUw8rUcm1GWFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QvWTtUeAwuR0kdm+BVQsQIXehEzoMliweCMr3hbJCuA=; b=V02fy4ss+5c5Ik68cnthmFfZoqMmwEqqRHVOj7j8m/3VLuLRuhEyPbHR30+RHrgg6gPAkHNDtX2cKovd7pbJMuVZmGuIUsrDYtAliu0m6D2hOIOAsbVSK2KeaYzQhhr1NxabhXRrREiCRBFqY+OmuJgcAAA0My9tU24hs4DCmas= Received: from DM4PR18MB4368.namprd18.prod.outlook.com (2603:10b6:5:39d::6) by CO6PR18MB3972.namprd18.prod.outlook.com (2603:10b6:5:340::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.13; Tue, 13 Dec 2022 08:05:00 +0000 Received: from DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::3117:f51c:37c2:fa05]) by DM4PR18MB4368.namprd18.prod.outlook.com ([fe80::3117:f51c:37c2:fa05%7]) with mapi id 15.20.5880.019; Tue, 13 Dec 2022 08:05:00 +0000 From: Tomasz Duszynski To: zhoumin , "dev@dpdk.org" CC: "thomas@monjalon.net" , Jerin Jacob Kollanukkaran Subject: RE: [EXT] Re: [PATCH v3 1/4] eal: add generic support for reading PMU events Thread-Topic: [EXT] Re: [PATCH v3 1/4] eal: add generic support for reading PMU events Thread-Index: AQHZA9T1dMcjqZu7mUO29kv0YicqTa5XJPCAgBRlZJA= Date: Tue, 13 Dec 2022 08:05:00 +0000 Message-ID: References: <20221121121121.3917194-1-tduszynski@marvell.com> <20221129092821.1304853-1-tduszynski@marvell.com> <20221129092821.1304853-2-tduszynski@marvell.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR18MB4368:EE_|CO6PR18MB3972:EE_ x-ms-office365-filtering-correlation-id: 38dc2e4d-c870-4c2c-a3c4-08dadce0bb9d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bepGGKOSTF1+9aX/naXz3GT81ZqyWzhYoyQUAbp+Ir/KUluAMeKCk5fOEbFloSTfDI+yqXQ+FP7GbIjE4zEhX2E6ypmd6g2I1XSzpHd9uMf5Q1o24eLUk+FzH/p/VrWksP5Blrv3pK1Q9wgVI9LuJVGDA8xnVZiN23K627P9+Wy+4aosWWdOUM8vfeawtkqBOYU1dttnnFGEaB1De7JZXupW8NIfpsubJeRfMQkmCkOpED+7/vsCMuWGkNR4cuN5eWWCGhm9RRfXOcl6vF2q++id/VJqsL2Zz12A0wM06tQmQ1P177mEHwVj3MM+JptkXPKZ1htu8/QTPQUeZAbYvHDg2GnVv07BII5NiWQIDyrUS/ollNkVIBX6Zg7X3iOGov6EQ2rwSLDg7KMqGj3MMuXH8qlX+6PiNjw6YbzcQxri7ilJwRMrMnFcyuWCj5kL8EtHOnu64AL3rg/9ysMC04qiDJebq6FQKedYrMgyr9hi4ORCrooUA+9LRZV3zMJLiLSC8FI/G41Bzt5szhCAUT1nBn9jLnZmztlq5ezKtcRoitt28Aza6+DifUcJA/Hc+tpwQllMDHHSCf33XxQowd0J1yh0XsWZjw1ZEJOglTru3lOsecvR9C5x5tPcCUoNpknb5EM6oaKJboofRrbGXzYfgcatshwpncbclvpACHA4RoYL5wpUQJoocUCp5+SKeWNm2+64AqwXTKb9p04MNg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR18MB4368.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(366004)(346002)(39860400002)(376002)(396003)(451199015)(38070700005)(122000001)(478600001)(33656002)(38100700002)(4326008)(110136005)(8676002)(86362001)(316002)(76116006)(66946007)(66556008)(71200400001)(5660300002)(52536014)(64756008)(41300700001)(66476007)(2906002)(8936002)(55016003)(6506007)(186003)(83380400001)(54906003)(26005)(107886003)(7696005)(66446008)(53546011)(9686003)(41533002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?b0x4ZjdFNGhLRHNWY0dGZndZcDREdjIyTE83ZU9sSFFZUVFVSHpKTktFWDhs?= =?utf-8?B?RU90YzcrZ3FpbkJMUzUrSlFsYTgvTE9jVEJTZEkwZExtam9hVjhIcjA4UnRs?= =?utf-8?B?SlVUSmlycU54SE9Pb1FhUG1NRVhDZDl0bDRSRlpNNFU0Q0hrNE5nOTNBQlFw?= =?utf-8?B?MVRmMDljSzVNK1ZCYkNoSmN1Q2cxZU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?utf-8?B?NC9Id1c5SmtEeThTMy9EWklmdUJNZ3hJWWc0c3dlODI3aDlUSzc2d01oUnZ2?= =?utf-8?B?NHp6b2g4dEdXUS9uYXBtTkhQbm93R3ZZN2Uxa0ZmY0xVaUV1U21JSkdGRzRo?= =?utf-8?Q?EhenQD/fb50q/lABga0z/eJSb?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR18MB4368.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38dc2e4d-c870-4c2c-a3c4-08dadce0bb9d X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2022 08:05:00.4645 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: G6B5biTj0tPYAb3X+JCEK6+yy7B5D1fPlWy9ayS6YepVXbi2hdFj5ffz/FlbDzKIn7lOrqxpwhnxzydygHTB+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB3972 X-Proofpoint-GUID: WIWIf7JyfW2pNB1l9UuASEAC5YERRlD9 X-Proofpoint-ORIG-GUID: WIWIf7JyfW2pNB1l9UuASEAC5YERRlD9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-13_03,2022-12-12_02,2022-06-22_01 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 SGVsbG8gTWluLCANCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2U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