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 0C9D8A0A0E; Tue, 11 May 2021 14:02:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAB8540140; Tue, 11 May 2021 14:02:32 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2056.outbound.protection.outlook.com [40.107.244.56]) by mails.dpdk.org (Postfix) with ESMTP id 498744003E for ; Tue, 11 May 2021 14:02:31 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=el0vvWaQJrPqAyY+GGI2PE5mclwjNHsi88daWK0y9VX6QWTbWxlqdbJp6rdNS29tV29erNgL58TRGFiBAp/1RG74uI6/661YtiHFSwOgDjubvx/OFT0ugnighiA8H50lp4Pkbf8eFrkfysrkbnj0AOQI3nBHu1U5vN8I20HaPY1xXiHTvJMydgGCGXDmIYJ1dyoYWvPVFmQDYM4ZQYOeVd/tSZ2+M7ZNwJvZn68rUhQvwzFyyJpbqsZ7NGXU3l2FamtnzOB+TABPkjVaB9y48eQLHe+LCl8qqOlunXDO4NA++DAgJgEV6XmT02cHHZ6LyhbQfYb2HWy+AI1q7LLC6A== 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=6Js4xk1A58EUvEVD46tuuC5Iaq5UX4KcEhF4p4oDjSw=; b=lCyiyMAnOYwBh96loh/Av/sgt/w/0HDEd5TgtkKqIlB7kxGlNUA+nwD1M+F3a3q3LmUbH8CaZtgfay9QHBWrr0IcaeyNXLAge5x1Lz5mJx7e4exeGSc5pHb/9/Dbk94Q1ub8VQnnjXKhrk0wMdeQzIRstcqKlcE0WRXhamrqKH24crTjcudVv7dy2e8Ssytf9reS5/oDBoHDmV3elJgcoG0hsYFOv6U2K4gBw4QcUNv1JeHSeDcRGsG2KgkSMjCFQptzHdpqYXgPhgKntFMjVe+pfdfXTMw9fpZVuh0aXSxKh0ZmWkMVp0hSbjq+rDb8Ux/pQqZQgT4nUDvVz2QB/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6Js4xk1A58EUvEVD46tuuC5Iaq5UX4KcEhF4p4oDjSw=; b=fW4TamHk2/woDt2zaHzFq5MkKIfp7/0oXE3EBfGbmZoq56xcmRompqGhP5g6lNaVLQSMRwnXVzsEi7qAXZC965eUsRoA4RBgw8sD3q5zsqeoDbfeb0d52Rsve78yxDdIhKNT5k4eAUpRdjjmrb440A6hlzLou/VC5rbmmeBUJfI/BQalw53WEe//zhfROYg9gGHv/pH0ri1P8vEG8OYxRObdrH97JABSWUEXtni7fJVl8snocCWQmQpkldZEM7fVMGks0DepZ1nZU3whO5V8YSlL0zNkq38bCQWuY9xbBhjiGoo2F0rdnlIC1HJ3908TAMKZgd2+D9Zm6TL1YIJa2Q== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3850.namprd12.prod.outlook.com (2603:10b6:5:1c3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Tue, 11 May 2021 12:02:30 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::c595:e3bc:686c:16a4]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::c595:e3bc:686c:16a4%5]) with mapi id 15.20.4108.031; Tue, 11 May 2021 12:02:30 +0000 From: Slava Ovsiienko To: fengchengwen , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/2] net/mlx4: fix memory barrier incorrectly placed Thread-Index: AQHXRZVTeDbsYErPx02yZ81RhoVV9qreAu7AgAAd8ICAAA7SYA== Date: Tue, 11 May 2021 12:02:29 +0000 Message-ID: References: <1620648363-31769-1-git-send-email-fengchengwen@huawei.com> <1620648363-31769-2-git-send-email-fengchengwen@huawei.com> <1481eb69-6ff6-4575-6640-b511bb82b6f7@huawei.com> In-Reply-To: <1481eb69-6ff6-4575-6640-b511bb82b6f7@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.163.75.124] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 98bcb112-e844-48e1-2d97-08d91474a704 x-ms-traffictypediagnostic: DM6PR12MB3850: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CGkrx9fkmAwX/tb5ks+TTxHnr5DWaUGLjRMRBbPdAW7dgTld+6g7sBgZeI8Keyyk+LTNYXrEAw9pxTh/34oYKXgZoNQ56s52NdEu75gfauTgwZ/R+AqCFt6aQzOrQET0tg7hQdEg6TMeS6wusBJ6T6h+9vd91EpGU2o2nDNwI96vx4+viq+mToPvJK3/D3tOTXehDNeYHnItRNoAzDAiew+e/4Ej78mEr8BBCKOaErV+/O7YooZi4mFnH1G7qQK2ZmBtcvOAeRP0XhBSd0sFkrOwUbzE3DgZb2DvIaBJ8oktXNHAMcGoLamQJ8bprtg3lRD9V2zVIxOV3yBAOfoScvniUvUw+WtIZ24AOW9YXM+oGibZFZdGujxBBa1vvLLYGoTETcEGRdxZLqO1mk7HofJeNE+55FQRBY1o5uYsj11JgsFljIVmXQQfNQwYC4OS8p8rDwcgeAxQWUkMZaaSv8m8qXJjct/W9fgTemRET88gKFRVG+dd/3SsQhHe7w/52YZ/dw29E+IVs7F7NN1s/rqKuVBYD4ipURPXDrN72yjgh27eK0XCuog7zDNd0cdZW32eh/spyHB9AFPoeVC33oJhZTvXd1PyLUQ8xZ1L2ao= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(39850400004)(366004)(376002)(346002)(26005)(186003)(4326008)(38100700002)(55016002)(122000001)(316002)(8936002)(110136005)(66946007)(66556008)(66476007)(52536014)(66446008)(64756008)(2906002)(71200400001)(76116006)(86362001)(478600001)(55236004)(53546011)(6506007)(7696005)(33656002)(83380400001)(8676002)(9686003)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?utf-8?B?eEs1eFdDSGJuSnZ2TGtROHJwQkdjMVE2RUI2NDJMVEpja2JCMlI0U0d6SE9N?= =?utf-8?B?OXh0VjRmK09Hb1phRVF0TUVJaUluanJSMlZCMEtJak4raWRWeWNQVWxmZkVI?= =?utf-8?B?YWYxbFBlOW1jMEgwQyt4OFpBaDhoRmNTeWdpTzRhTk52a2RxSkFhbXEyTTRI?= =?utf-8?B?VzRSNGNCZDlWMmJnSFlrYlZQUGM0cVY3M3Yyam96TEdNSjVzMWZyc0swYUhN?= =?utf-8?B?Um9keDduRzBFQXdlSUc1cTdNMHQxaUwyUzU5SVNUQ0J5SU9DRGxMMmNvS0l5?= =?utf-8?B?S21HeE55ZjB6c2JkaGduaGJvQ2dEL29NRkpYWU0zMkxTa05VS0lZbDJ6K0c1?= =?utf-8?B?cEUxVElVNGZpTkFtQlZJM3JjZjhIWjZLN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RlA5R0FDekt5bUs4aW9TM1U3TWcxVWpsZmg2dkt5SUkx?= =?utf-8?B?TGsra1RrdTZDUkt1Mk1nNFByQ0JHY1ZVejRzMThVOTF2NHZzTllMRFFicnpL?= =?utf-8?B?WEQ1ejQ2M0ZEVTBpUFJ2WGF3SzNuZ0ZlaEkzRFJ5WFl1ck9zQzBPbDNVUDB6?= =?utf-8?B?MlhzbStIV2U0VHpEQW1wc1I0Y21xV1lDajZvNzdXSHdKR1NwNnR3MVBpaUhq?= =?utf-8?B?UFhoTERDTFk5MUZFMnFtazd4L1hvUzhkRlRnOUFTa1MwMmlyL0lUU29MS2NJ?= =?utf-8?B?MGxUREFXZXVSRVI5bkM0b2JHNUd5YVEzeFpXVjcrZmYyTzVnMTRlZ1dEaEdS?= =?utf-8?B?T0xxMXkrZzJkVXZYQUZpY09HRzR0YmhJZnozemhEczVxYkJVQnZPU3pTRm5m?= =?utf-8?B?YVdvYU9uYlo0WHFwYUthZk1oU1dLZmxHT081WHJqTllFM0krNDFvQzEzR1c2?= =?utf-8?Q?m+hE7s3XthnXCjr5c+N2UIXOG1q/BQpIWYKzJW4?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98bcb112-e844-48e1-2d97-08d91474a704 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 12:02:29.9207 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Zg9E9enuLdCVRp3hexhGmZ8QBc+J4/oQfycRDT2Ap3eBJRsqkJZ4gg//6kFF0dhG1j/f85gRSPFBEPXAhTYKTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3850 Subject: Re: [dpdk-dev] [PATCH 1/2] net/mlx4: fix memory barrier incorrectly placed 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBmZW5nY2hlbmd3ZW4gPGZlbmdj aGVuZ3dlbkBodWF3ZWkuY29tPg0KPiBTZW50OiBUdWVzZGF5LCBNYXkgMTEsIDIwMjEgMTQ6MDkN Cj4gVG86IFNsYXZhIE92c2lpZW5rbyA8dmlhY2hlc2xhdm9AbnZpZGlhLmNvbT47IE5CVS1Db250 YWN0LVRob21hcw0KPiBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47IGZlcnJ1aC55aWdp dEBpbnRlbC5jb20NCj4gQ2M6IGRldkBkcGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2 XSBbUEFUQ0ggMS8yXSBuZXQvbWx4NDogZml4IG1lbW9yeSBiYXJyaWVyIGluY29ycmVjdGx5DQo+ IHBsYWNlZA0KPiANCj4gDQo+IA0KPiBPbiAyMDIxLzUvMTEgMTc6MjMsIFNsYXZhIE92c2lpZW5r byB3cm90ZToNCj4gPj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPj4gRnJvbTogZGV2 IDxkZXYtYm91bmNlc0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIENoZW5nd2VuIEZlbmcNCj4gPj4g U2VudDogTW9uZGF5LCBNYXkgMTAsIDIwMjEgMTU6MDYNCj4gPj4gVG86IE5CVS1Db250YWN0LVRo b21hcyBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47DQo+ID4+IGZlc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