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 5C02CA0547; Fri, 25 Jun 2021 16:42:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5C6D40698; Fri, 25 Jun 2021 16:42:18 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id DA3B04068A for ; Fri, 25 Jun 2021 16:42:16 +0200 (CEST) IronPort-SDR: H2twvPfVow5txaD2N2h/ZjbZI4ufyBvCw/qWq+oJDwKlLCA3YaXrO+qFlxqqmR78r39AvrfYet YZqje183QDQg== X-IronPort-AV: E=McAfee;i="6200,9189,10026"; a="204671852" X-IronPort-AV: E=Sophos;i="5.83,299,1616482800"; d="scan'208";a="204671852" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2021 07:42:16 -0700 IronPort-SDR: ZLQSRWwkrshsQuiCE64MYtilP84ZV/mDdCjuV+EobC/vL0IGFAaI/BQArVT8HinBcz+L1lHbZv gAQnMe2ASFVg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,299,1616482800"; d="scan'208";a="642648683" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga005.fm.intel.com with ESMTP; 25 Jun 2021 07:42:15 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 25 Jun 2021 07:42:15 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Fri, 25 Jun 2021 07:42:14 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Fri, 25 Jun 2021 07:42:14 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.4; Fri, 25 Jun 2021 07:42:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V8sdgKSp1e9wlz8YOERPQKEzEu5vLzn+IUUMQyW7cps3fRPRIK1O5+MqlROVMEvSch/sr4gd69RW+8LKRm9MG4803G9lLRB1rlyDMevb8bhCfwLZVPqkof9aCsDDCSOOIbeS7SSPp1wZqyXdc5glpswpY/rxvsqPcUJOc7xhPp/lg/0uQGaJRPYks3Wcg8Y+/j03j4QZY+ehDUnPaRxonaxEPp0pkzPP56MKaNqbRtUSQKhtsgdTlfjE/f489YzBLqLl6B0jVodfJVKdO+A/BtaV3843lzOaTwQy5P4z33XLAWOLwQ5lD1aFGVYrSTNGXMvCKKbRTBRtwCv4olJ9bw== 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=CZCQ316im/ZEjK+4bfEtjDr0OOWbSEozYpv7eCjefmk=; b=e4alcpQt3mcN0jY0p7tWXpUFjMR36FlTY50VAF4fjWj16e+V54gcE9rQ8OctK8qm/fq3KUnmeYMa7jcYn/jElx5lW0mPmPX9hznJ1Oycoj886oMM66GgESAX1Obko1wCpez+FJJ3acmAzLqsL+b7FiE0KFSIbOC+zmQ25BM8/aPI707eTWZJb2hrQIU1gUox0wWLPZEgk7nYHk0RAmCtMuDSStF2Gg3z2Qi25vnlw/kkrwOkvOM6vCBdd8rhlFRBCjPmTILrdQ1/ALEpGhtzdZyD++QjlgpJ4zLpRC5ttqWX87ZSqsVCYs2u/TkUdF2lD51R51B+qqxks1dhQWPs3g== 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=CZCQ316im/ZEjK+4bfEtjDr0OOWbSEozYpv7eCjefmk=; b=nwQXUl9xO/iezi9oQKBf3ihADufwVQuMeXt7FiTsEjlSiIUpCR/GRlIvj/I32pJI0IH/+puoEPM5chMqrNmTQIIbX1Jiok4x8TRCUdRo+Ro7G77Dr36cqCvTUajGfwjG0em0RkcahwMBeC75oCOX7qAXqcd+z8x5yKTuGhUMGBE= Received: from DM6PR11MB4491.namprd11.prod.outlook.com (2603:10b6:5:204::19) by DM6PR11MB3228.namprd11.prod.outlook.com (2603:10b6:5:5a::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Fri, 25 Jun 2021 14:42:10 +0000 Received: from DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::7dc4:66b0:f76b:6d48]) by DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::7dc4:66b0:f76b:6d48%7]) with mapi id 15.20.4264.023; Fri, 25 Jun 2021 14:42:10 +0000 From: "Ananyev, Konstantin" To: "Burakov, Anatoly" , "dev@dpdk.org" , "Hunt, David" CC: "Loftus, Ciara" Thread-Topic: [dpdk-dev] [PATCH v1 4/7] power: remove thread safety from PMD power API's Thread-Index: AQHXVt3s3SqCadMTUkmuRVO1oz9RIKsf3MzQgAGeo4CAAAFIsIADRs2AgAAu8RA= Date: Fri, 25 Jun 2021 14:42:09 +0000 Message-ID: References: <85de3e30-eb1b-cd5c-5767-a2157d0d1616@intel.com> <6453df58-c5fd-49a5-f94b-fbe4516c4d9a@intel.com> In-Reply-To: <6453df58-c5fd-49a5-f94b-fbe4516c4d9a@intel.com> Accept-Language: en-GB, 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: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [109.255.184.192] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 122fbf56-e7c2-48ea-a0b7-08d937e769c7 x-ms-traffictypediagnostic: DM6PR11MB3228: 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:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bMP4aWS93ptrp+XNvWamSu5T46ENTzIiQMRZckIWTontHFf0cXloOq0NbQ7K0yZPh2+QkQlNj/m9ai630DJZIpukfdgFToaX+BvuTZv83huitYsVA6rc7lONLqb6+devSG4trLPJzpE04Ks2E3YNbBhr4dx2X5F9T23vJyoFnS6CwsFNthE4tjieBjCsFRzLIlYelc3QOF8M8Z0d4yJG278ffZe+WxGECMJUST7u0AGf+kjcMUi8zTS7XFPDoklIIBT+OgZ0RRlc4e3+/qImWWKQuLGevIs/uknvex8SIRBIMXeLMKlOSSF9yDiSnkXALmdNV6ZiqISju/ZLzXzUNpO/Fz4Ljq8HWOrsmdr1QNdoRuoWBOjkKIm721dRirp7x7qBgMeoR9AEag5xZu2nFkWwHvVqZMBr6qIeqyJu+A6xIxvTXXVdOg3gsOI45LVrKzygWHRs+quR0qrO+fH/GcRRZeqTs4CsDfQRUuJDrKxHifQqW2Oh6Z0Y6D563ryCnE/EBFDMx5bKIjzv15py+oQAHfrH3WBhYB7o9vu8Qw/ZkF6/ijt0P5Ooh8CKweMNX9GDIXkBCG/7j4ww53ZMoT3iZ8b26oHd3QHW67rCMCk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4491.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(366004)(376002)(136003)(396003)(39860400002)(33656002)(86362001)(316002)(52536014)(8676002)(110136005)(71200400001)(6636002)(107886003)(8936002)(5660300002)(38100700002)(122000001)(478600001)(53546011)(9686003)(186003)(4326008)(66946007)(66556008)(66476007)(66446008)(2906002)(7696005)(64756008)(76116006)(83380400001)(26005)(55016002)(6506007)(55236004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OUgwcmJURXlxQXAyY1k1Z0crMWdIRlVmTk1ySStVMjdqTGxHUGh0R2lWcUVw?= =?utf-8?B?QkRTdHhLa25kR1ROT2tRSzFYcGNYUGNYeDFhbVJleDZrem9wclo2SmhXc1NY?= =?utf-8?B?TG4weDFhaGFSUHczZXVBR1RxeG9xYytqYUNJdHVMN0JqY1FxSEgrMGpwTmxK?= =?utf-8?B?ay8vc3RTb3BraG9GVDlYczB0ZGVPWXpuZHRmcE4rTFd6U1dmZHZMcEhYMVZs?= =?utf-8?B?TVR4d3B6djNZSDZGbFZzWXViWENRbkFBd2w2bG9yd0hIV2lnS1UvRW5YNy91?= =?utf-8?B?T1hPNkVMZWF1RXRYa2tScWpVak1adzNHYm1FVUV6SWNzZ3FldXJxeno5K0FP?= =?utf-8?B?OFczZTBlbVFnVUIwRXVxTDgxRUdKYW1UTzdHVmtFc0Z0OGFwajZ0WENYOEpj?= =?utf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QN1g2K1d0V3VhSTZx?= =?utf-8?B?cXVmM0JjMFladnFlNVo4QlpvYVN6bTlYVktMR0l3dXF0S25valdqRXVYSHBI?= =?utf-8?B?OTZSSnFwY0FxMHJROXo2ZVoyKzM4S1hRYXQ3VXVGRW1WMzBPR0tqaWtRWCsx?= =?utf-8?B?R0pKcnZDR29pRi9yU3plWHhkbXVGRnJDMGFxNTd0WjFJVGE3QlFkcjVVK2E0?= =?utf-8?B?UEVzbUdyMTdKbURuZjdMWFI4RUFlYmpEVVNHTngzaVdRVWNjakhSRVZVQjAz?= =?utf-8?B?a3JkY2tMSklod0RlczNRMHFlOTlTelZFLysvT2xYTUFtN0hZUzBHa3lLRWpk?= =?utf-8?B?WG1RZ3Y0cXYwTXVlOVkrSWJKNzdlc0ZwbUNZQUM0bjBXU1FBM1lvRnFKbkM0?= =?utf-8?B?MFRiSWw2VjAzRUl3Nk14eStRNFhxMkttTkRlY1dORFdIK00rMytaWUNTSWxh?= =?utf-8?Q?i8enumTliOEvUP8K6QohxC7TeY8mJ/2bHxl1+4L?= 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: DM6PR11MB4491.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 122fbf56-e7c2-48ea-a0b7-08d937e769c7 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2021 14:42:09.9610 (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: RX5AUP2C2gYdn8lg8BzFXddUn4fcHExNyxGSqYjD55/5UMa7hDHPbxowBcRMSSmWykP9IM1puIcCPbqzvG5U+uM1fZrX6vcvsmB9vq0ZVUQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3228 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1 4/7] power: remove thread safety from PMD power API's 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" DQoNCj4gPj4NCj4gPj4gT24gMjItSnVuLTIxIDEwOjEzIEFNLCBBbmFueWV2LCBLb25zdGFudGlu IHdyb3RlOg0KPiA+Pj4NCj4gPj4+PiBDdXJyZW50bHksIHdlIGV4cGVjdCB0aGF0IG9ubHkgb25l IGNhbGxiYWNrIGNhbiBiZSBhY3RpdmUgYXQgYW55IGdpdmVuDQo+ID4+Pj4gbW9tZW50LCBmb3Ig YSBwYXJ0aWN1bGFyIHF1ZXVlIGNvbmZpZ3VyYXRpb24sIHdoaWNoIGlzIHJlbGF0aXZlbHkgZWFz eQ0KPiA+Pj4+IHRvIGltcGxlbWVudCBpbiBhIHRocmVhZC1zYWZlIHdheS4gSG93ZXZlciwgd2Un cmUgYWJvdXQgdG8gYWRkIHN1cHBvcnQNCj4gPj4+PiBmb3IgbXVsdGlwbGUgcXVldWVzIHBlciBs Y29yZSwgd2hpY2ggd2lsbCBncmVhdGx5IGluY3JlYXNlIHRoZQ0KPiA+Pj4+IHBvc3NpYmlsaXR5 IG9mIHZhcmlvdXMgcmFjZSBjb25kaXRpb25zLg0KPiA+Pj4+DQo+ID4+Pj4gV2UgY291bGQgaGF2 ZSB1c2VkIHNvbWV0aGluZyBsaWtlIGFuIFJDVSBmb3IgdGhpcyB1c2UgY2FzZSwgYnV0IGFic2Vu dA0KPiA+Pj4+IG9mIGEgcHJlc3NpbmcgbmVlZCBmb3IgdGhyZWFkIHNhZmV0eSB3ZSdsbCBnbyB0 aGUgZWFzeSB3YXkgYW5kIGp1c3QNCj4gPj4+PiBtYW5kYXRlIHRoYXQgdGhlIEFQSSdzIGFyZSB0 by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