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 EC37B428D2; Wed, 5 Apr 2023 12:57:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC7F2427EE; Wed, 5 Apr 2023 12:57:04 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id BC32441156 for ; Wed, 5 Apr 2023 12:57:03 +0200 (CEST) Received: from frapeml500006.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Ps1lM0rK4z67Hhq; Wed, 5 Apr 2023 18:56:15 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500006.china.huawei.com (7.182.85.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 5 Apr 2023 12:57:02 +0200 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.023; Wed, 5 Apr 2023 12:57:02 +0200 From: Konstantin Ananyev To: Tyler Retzlaff , Konstantin Ananyev CC: "dev@dpdk.org" , "bruce.richardson@intel.com" , "david.marchand@redhat.com" , "thomas@monjalon.net" , "mb@smartsharesystems.com" Subject: RE: [PATCH 3/9] eal: use barrier intrinsics when compiling with msvc Thread-Topic: [PATCH 3/9] eal: use barrier intrinsics when compiling with msvc Thread-Index: AQHZZnap0PZ0bua2nE60okV7Fqc0Ma8bDxDwgAAcdACAAIYvgIAABEiAgADVeeA= Date: Wed, 5 Apr 2023 10:57:02 +0000 Message-ID: References: <1680558751-17931-1-git-send-email-roretzla@linux.microsoft.com> <1680558751-17931-4-git-send-email-roretzla@linux.microsoft.com> <754a877d020a4a199a5310b469e876a7@huawei.com> <20230404154906.GC23247@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20230405000441.GA24769@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> In-Reply-To: <20230405000441.GA24769@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.195.34.197] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected 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 DQo+ID4gPj4+SW5saW5lIGFzc2VtYmx5IGlzIG5vdCBzdXBwb3J0ZWQgZm9yIG1zdmMgeDY0IGlu c3RlYWQgdXNlDQo+ID4gPj4+X3tSZWFkLFdyaXRlLFJlYWRXcml0ZX1CYXJyaWVyKCkgaW50cmlu c2ljcy4NCj4gPiA+Pj4NCj4gPiA+Pj5TaWduZWQtb2ZmLWJ5OiBUeWxlciBSZXR6bGFmZiA8cm9y ZXR6bGFAbGludXgubWljcm9zb2Z0LmNvbT4NCj4gPiA+Pj4tLS0NCj4gPiA+Pj4gIGxpYi9lYWwv aW5jbHVkZS9nZW5lcmljL3J0ZV9hdG9taWMuaCB8ICA0ICsrKysNCj4gPiA+Pj4gIGxpYi9lYWwv eDg2L2luY2x1ZGUvcnRlX2F0b21pYy5oICAgICB8IDEwICsrKysrKysrKy0NCj4gPiA+Pj4gIDIg ZmlsZXMgY2hhbmdlZCwgMTMgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQ0KPiA+ID4+Pg0K PiA+ID4+PmRpZmYgLS1naXQgYS9saWIvZWFsL2luY2x1ZGUvZ2VuZXJpYy9ydGVfYXRvbWljL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