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 51DABA0A0E; Tue, 11 May 2021 11:24:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A7A440140; Tue, 11 May 2021 11:24:59 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2076.outbound.protection.outlook.com [40.107.244.76]) by mails.dpdk.org (Postfix) with ESMTP id E57C04003E for ; Tue, 11 May 2021 11:24:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DwA6Uk+b10L9uDhsJNLWJHJtFRsk1Pixly3Qkwv/GwQ/ydlAev9jmccdYT+yfsDPxlXeT9Upu7Y5dmkDOWXUyR4vnMTnS1hUR3LBvr35a/uYpEV/fO+B78Vh0qYxNDQnl59Masg8xY1WOqjD/9HOR2+lVg/htpwI8iyoI+iCRYmTeZhVWGyHmZmpNRGX4tBHI4eaqhURCiIYHKLMLFnPSIgo9xYdH3GEstmYn0rkWtfKBkNaX3b6Rv0LzIAyzgN0kcLzn7P6HdK5UR0SvnOMBmVZZG+1a0OD6Y4tMoqwNc/6Id+rdx8w1v5SzreC6F1f1u3qw4FSG32zoAsdmp5ocQ== 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=QHpzXptYDje8aMqRsnHCqZV9ww/SoZGib7PVvnzDdfQ=; b=L431mnLvClDzytBhJJESQZU7ygJtKNNb31tcBVIpSY8sEL/uEQE5bOAaqYayGa86goET3ZZSYz0VYlDg1UxPYe6ueO7ke2OW9bCGu1S6pAseCr6a0jO86j+MUE3tuqUTCtVLhQsocPWn/DzGAbqVOhNMyDxAfKzbi4AOrA5vadgzwhVRwMaeXo3zg1Lk+goQnEKXCH+x3JCokhXdv8hSxcahXNNxSFT7EKuGBnzyc51WzMnuB/xQPZZif2RaZRHD7JREfy6Cqc3Nx3fj+b2tOyuQD7F2d3NMrv4XnP+nSwUiBgr/ee0+LGOdFC3d3jryA+TjtJKaF592BFuVzsJ0fQ== 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=QHpzXptYDje8aMqRsnHCqZV9ww/SoZGib7PVvnzDdfQ=; b=U1g+cYbtzJ58Ys9mmq8VjayfN4lLVcbQwZtrhV9BHRv0BphzpWgS7smsHpHwvR6GCKpdVA7bqzLuB1JkOg4V+yMTFyBQ6A6BmqguxZnT4Dzi+qeNdAuR2mCHEnwtWGuxWMQpZQym2c/kStEHiIznu95voZpNt/FEnuaI32PaIeAVjoBPy6/osdkeCFxKVj7IAm5wABm9d5QSe+DhNEr0KM34mCGC+VGIfrLYsJLHt6kmFOjWuLipUwvnNbN3kGRiRX4L0aOFZc9XK9nAWSZjFJoR3E6FKCB1sgDHiZxV9j6UA10kz8GWd1uw+Y88fpl3R+493nDNIqTP/OQrmVMI4g== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3755.namprd12.prod.outlook.com (2603:10b6:5:1c2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.29; Tue, 11 May 2021 09:24:56 +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 09:24:56 +0000 From: Slava Ovsiienko To: Chengwen Feng , NBU-Contact-Thomas Monjalon , "ferruh.yigit@intel.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 2/2] net/mlx5: fix memory barrier incorrectly placed Thread-Index: AQHXRZVPmOdLM0WBqkW20AuDLQ+xWKreA75g Date: Tue, 11 May 2021 09:24:56 +0000 Message-ID: References: <1620648363-31769-1-git-send-email-fengchengwen@huawei.com> <1620648363-31769-3-git-send-email-fengchengwen@huawei.com> In-Reply-To: <1620648363-31769-3-git-send-email-fengchengwen@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: 071dba06-52f8-4833-46cb-08d9145ea45d x-ms-traffictypediagnostic: DM6PR12MB3755: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1002; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OMNLJ0Jkbu8SRQchnGFIdyXQvlQgDeWFsIl9seplL+9kQ8bjiLWvTVzJ+915gXMn1ozU5CFyFHMkqWeHfNJzhpEvXBCS/EWlp2zzaPnk1+zpe0lJlQn0+dt27/nCEGpRqtQwfzC/tShMMK7lxIwJXp2orMJ/Xu93JDL3sG6tBcTP9x6Ox2iaB3A1anzMgmip/F2XXVnIb9blrep/eOJNn38iYk6rkufFRlpqv9rwoRsw0Dh6gmObx5qM+Yn4kRjpPBpvzPNkKi6SxCMwuyPcbtWeMXKxs3DbSTMk76iVwnLID+NtycwF9Dmk6tPr8eVzpj0dklKO4EmwvYfRdXS4VqhqpswBsZeOZ1HmmD6dtXm3uTkKux5SUe3SMuhp/hdAwEYKMc9JBwglJEQ9OkMvYs1DFhH5BdF2m120rVTUWW8o4ho/WxC0RIHrUrkFteifZ1crLlsBHLuY50bIhdhUXquzoT1bZKdjQ9leaTMyjt07ANFr/qimSnpiFoBt4cMIes6guiPssehiA5sUYPqSTsATW2dgxbEmevNEXpDPvHPfguZNf3f+7lUHt7m9R98OWU6Unctq/nZv6bM0CXdeXzAy0c2Sw+pkR+GHkOmwGh8= 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)(346002)(376002)(396003)(136003)(39860400002)(366004)(478600001)(4326008)(7696005)(55016002)(64756008)(66556008)(66946007)(6506007)(110136005)(38100700002)(76116006)(186003)(53546011)(26005)(2906002)(4744005)(5660300002)(8676002)(52536014)(83380400001)(122000001)(66476007)(9686003)(86362001)(316002)(55236004)(33656002)(66446008)(71200400001)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?zyWldcbiG0OIWXW8hnLt4ubJqBzkQYQE9f4fA4FNJbV7LMfVpUUIN9NNS5vN?= =?us-ascii?Q?HFMjpMc6RiKo3tRYMJN0OkASMf2J+yAE0uN3XkJUH1H2sH0T18b5edrz8v1g?= =?us-ascii?Q?VUIOiqMV4GO5zTMd5L6WkJuG7wQhNw6YOXRHjYFtvTEurD89y6P1IWFYKZcu?= =?us-ascii?Q?B4X8HnJCSaYAzjoGaTt53KJHYAQlh8W7U8t07/hr6OPjAoKcLKiezBDYwNwO?= =?us-ascii?Q?G+nwKvir1c/fDdVETjVOslfa7mndnKnVQGyeSmZJ3KE6bWrzPiKKBH4MfKM1?= =?us-ascii?Q?WUABLDycgsHLpSG47D7wb74EcIRZeyzoNpRj4JdPH+V/QruRkOttiFWWAoQN?= =?us-ascii?Q?J9L8CD5S1Z9mhKNHTXMZ9gsEDqCGiDpEoxQBiILpb3JG/uc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hKZe30iOwa9DYvxmHXU8ECkBc329t+JVWcgznU2+zaGY9UxUMSd?= =?us-ascii?Q?+CVop5mHTRCwKmVl9hrKiQ75?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: 071dba06-52f8-4833-46cb-08d9145ea45d X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2021 09:24:56.5574 (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: KZQRg43dQcDXX6nUysrzjUz3oOdAOHlPFYFy1zK7lWXebtR/cbA6bIfF7F20+ilBQhP4JD6FsISBHuPsmrfqZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3755 Subject: Re: [dpdk-dev] [PATCH 2/2] net/mlx5: 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" > -----Original Message----- > From: dev On Behalf Of Chengwen Feng > Sent: Monday, May 10, 2021 15:06 > To: NBU-Contact-Thomas Monjalon ; > ferruh.yigit@intel.com > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH 2/2] net/mlx5: fix memory barrier incorrectly > placed >=20 > The memory barrier is used to ensure that the response is returned only > after the Tx/Rx function is set, it should place after the Rx/Tx function= is set. >=20 > Fixes: 2aac5b5d119f ("net/mlx5: sync stop/start with secondary process") > Cc: stable@dpdk.org >=20 > Signed-off-by: Chengwen Feng Acked-by: Viacheslav Ovsiienko