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 A8FB3A0546; Wed, 7 Apr 2021 03:45:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34401141009; Wed, 7 Apr 2021 03:45:57 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2043.outbound.protection.outlook.com [40.107.223.43]) by mails.dpdk.org (Postfix) with ESMTP id 8BD83407FF for ; Wed, 7 Apr 2021 03:45:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m/UnoNGKvDJbU5qOYBhN2ALOA+PDRD9rlwx+IwAhuCzLqLPmY7qM9zlSKpXAGyHfnIka7+rfVrB8UJ7wXPXUKTo5/V+1dQZDNJSvYCvuWdTRSovGU8GROM4yo9BRBDjRmD2Y9+cVJG1DMJi+F2/zeC4kgNWGWbhUA0TB3gCd2pmHz+EFxz0pInP6INiW7Sg6V9yMvZZHZRLVfZFVWjgLxYCDktFU3TlnoKbGVcqt8X8T/KxXfFB4SKs1HqbqEVbjdVxXgLKbNrq++XRPQMF/fO9HNwEmECzlCBZfVmZrDTUhbemQ9EVsXLSSWFfKks7r7VrdJSGPNdiFA0QTOqsVnQ== 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=Id+Yj5XKmfKO/7Ygm8zYjiz7rnLklUGJIwH556FKKKk=; b=BQeZmzgSVyZoXKSa8uR8N86zNoam0N8QyNPUU0kGS0yWUzr1yBTaKsUkH0VsYUZ/B7w0ng5gqplSgqLb2a6KHfOb3c3fwhmuu2tS/qwSoRoaROcEfSgQFCxwSe1diKX/URs3N/3gNhVIP7N5cmOYsS1MMrJVMedFU8gCvCHLTmXS3EhTxaTOpUaUiaTbWb/i8AatBWQ9avWT+I3reos2JIBxNZ7+0lKARkJuNCPvk9XYekyJiJgArOEaKkCw+Z6D0dCXGZqJCRMSy20jqt5/sCutuUnF+wNX2oCyYbQm6/QKsX4DFGP9auqYeD4GDXCol/0DEUneC0zy0FFEv9XCjw== 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=Id+Yj5XKmfKO/7Ygm8zYjiz7rnLklUGJIwH556FKKKk=; b=b8Dm5fZtF7hwGiKL5aSCpZVGrcUbjAzcfDKIeAHaQf/D7I4pDXNgM3D4cX1wndDbRlNxqraHjhFeRcbNe8VPIp935R+PBzUhlXIQwfivxEAD46sElLDyRLoEBCrchc0QXNkPY5fTqIKAyGwWZ+huRzy6tP/353BA8oSzk2O4tbeL4HD0D3JL6TYCTqMjTi/TTQD2GZ1CxK4CN1XwVW7ie/c0KkC6tL72mWvA8ssR25MUhNkDJ232K6wgAzZQ/hcUZ6pDYYxGEupflBzxkfENYGgMkleuhpqQoMhxLDswf5iHpDcmipFy01wkxMWuh3oq34KahifXIXvH1ygkd3swfw== Received: from DM5PR12MB2405.namprd12.prod.outlook.com (2603:10b6:4:b2::20) by DM5PR12MB2551.namprd12.prod.outlook.com (2603:10b6:4:b9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Wed, 7 Apr 2021 01:45:53 +0000 Received: from DM5PR12MB2405.namprd12.prod.outlook.com ([fe80::457d:befb:a284:b110]) by DM5PR12MB2405.namprd12.prod.outlook.com ([fe80::457d:befb:a284:b110%2]) with mapi id 15.20.3977.038; Wed, 7 Apr 2021 01:45:53 +0000 From: Alexander Kozyrev To: Feifei Wang CC: "dev@dpdk.org" , "nd@arm.com" Thread-Topic: [dpdk-dev] [PATCH v1 0/4] refactor SMP barriers for net/mlx Thread-Index: AQHXG8cADf3DvS0Ry0icvvQsb2O72KqoZ3CQ Date: Wed, 7 Apr 2021 01:45:53 +0000 Message-ID: References: <20210318071840.359957-1-feifei.wang2@arm.com> In-Reply-To: <20210318071840.359957-1-feifei.wang2@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [2607:fea8:e380:d8e0:f014:4294:65b9:4169] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 551edfa4-418d-46f4-4e81-08d8f966e15c x-ms-traffictypediagnostic: DM5PR12MB2551: x-microsoft-antispam-prvs: x-ms-exchange-transport-forked: True x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gT0HznHTCoydj2EfvEsJzbzDuFEvHO8p2a9LbLll3Tr1WI7yD2lCxFkNMXFQW95sqFo0OVQrhrcF4blVJQ2zj1iXAhAsy/5Adaj/AANJfTtF5o7pGEKIjBph/xREUItWAUZktCJJ/6OnQllD0eC5rNEPWRkxntaJJecr6vH/5aaDBo76qWHt4CYF3566cfw2d9EX4g1edCzCSR2bCRqHvzQV53WWRcY0asWAbfb3ROkIoXSnUIvzZzeJpozfAq/qNLaXgQ7GEw2SuYWjyHn9XYxgvMJT1kbXFwMQe4ZKK3efidKGZ4nJS165RbOaYcg9khqFVlH9Y9Mhm6CqpaQWHqmSdHiKLxFJ+2FJOjxHRJZb6hdIeb8TpEfZR3j28bHC3e/33j27hCDB4+499L3OrZXGgWpBwFDL0Ve6ueP4GSyZdnpotOErZEbil1vxaTI9fV3vb3j+CczT7vd/ke0LcrcKrb7oAb6FDGEfivAa+09LffGphl5G8h3qcH9HeP8xyOZU7wQ7HWT+8apWj9pOyFH7DUcJ7J6K+ZzOjL7Gzw9PJ8Bt0BUciJnT6+O8OD9RZaoD40VfWfrNirDJShtDw+sQ1YU8bT+o3OdTW4HxXbdytlhiy6QJjDJJ3aHSNhszoBisVXYHGc+TovTsXiOPAc+SdNVPdg2H3FOLjlWfKmE= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB2405.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(4326008)(64756008)(2906002)(66556008)(38100700001)(5660300002)(8676002)(66946007)(55016002)(8936002)(33656002)(86362001)(54906003)(66446008)(66476007)(76116006)(6916009)(316002)(7696005)(9686003)(6506007)(4744005)(478600001)(186003)(71200400001)(83380400001)(52536014); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?eJ6fxItUx9SwhQT9512cUnM1AcJuFKdY/0qGJFtM7yECDRCP8Ci44r1ZrRoe?= =?us-ascii?Q?FaOcyHxT4sdI6PZ82u8yXjE4+ZW2rfyd/3LYQr0IAiE20dlW8g+Hb6IIQLoC?= =?us-ascii?Q?apKAjWlKZHaYLiEt4NilqDmY2gxo0VaJ0OdKnCso1K9IRIFOuVIN6vWtdv/4?= =?us-ascii?Q?Ez7sW5lMTGP/0Kl6z+yfYmpcFtGSODEpalL8S3LJYbJzw1Q8TS1YdLdldQqm?= =?us-ascii?Q?EzwUQGyw/9AgUareGvAjPvRExU0hmxjmUsKu7B9nscDZ+c/gvvcG1Uc9Y7v3?= =?us-ascii?Q?FUNuuOvAidfApRbg4R88CbfPNB9HfsL6e8Y3YFzKUHqpOvk5UNEgoj6tz9PZ?= =?us-ascii?Q?NjSxUxAnZyyPhfUa98FtVhGqKgDEqnIZt0uopvwrbMUVURAASnSkxD0xeQcj?= =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Ue3F3CNGPWHvU?= =?us-ascii?Q?07YWYlwStYIynM3etSFq3VzZQ5PcmBBXLrsp9jjGyXRqBpRSLpZvwTItWCHM?= =?us-ascii?Q?Sd6PWdinxDU6HHMiILad52tnOI5U?= 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: DM5PR12MB2405.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 551edfa4-418d-46f4-4e81-08d8f966e15c X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 01:45:53.4459 (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: n8zd1zkMJdbJUQzCY6dZ+Dpkr0VIGdPUsksRu46NKPScMwPVhSBKU6vGgd+3+1+/msUMhFf8ROTCTLb+mecMnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2551 Subject: Re: [dpdk-dev] [PATCH v1 0/4] refactor SMP barriers for net/mlx 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" Looks good to me. Thank you for fixing this bug for us. Reviewed-by: Alexander Kozyrev > -----Original Message----- > From: dev On Behalf Of Feifei Wang > Sent: Thursday, March 18, 2021 3:19 > Cc: dev@dpdk.org; nd@arm.com; Feifei Wang > Subject: [dpdk-dev] [PATCH v1 0/4] refactor SMP barriers for net/mlx >=20 > For net/mlx4 and net/mlx5, fix cache rebuild bug and replace SMP > barriers with atomic fence. >=20 > Feifei Wang (4): > net/mlx4: fix rebuild bug for Memory Region cache > net/mlx4: replace SMP barrier with C11 barriers > net/mlx5: fix rebuild bug for Memory Region cache > net/mlx5: replace SMP barriers with C11 barriers >=20 > drivers/net/mlx4/mlx4_mr.c | 21 +++++++++---------- > drivers/net/mlx5/mlx5_mr.c | 41 ++++++++++++++++++-------------------- > 2 files changed, 28 insertions(+), 34 deletions(-) >=20 > -- > 2.25.1