From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id BF270A0096 for ; Wed, 5 Jun 2019 21:23:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B6D031B94B; Wed, 5 Jun 2019 21:23:06 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130040.outbound.protection.outlook.com [40.107.13.40]) by dpdk.org (Postfix) with ESMTP id C6EF21B947 for ; Wed, 5 Jun 2019 21:23:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a0F2XcCY4AxkpUbXp5tD5Ic4DwdJw9vyT27hpTcAoK4=; b=Kj84vn1EcKTkg9YgXvIuU0u+G6EawRF0Uu/cs2EWCg28Xz32M2xfW6FclMCMp2v/gTZHfTAlNBw7v2kXOXgl5GVbj/BIjTiWt3F0o7DkxTG6PViQwB+d/b7ozUccjK3wP4HBDbKMyUNuRsiHsnG8LO4ENtyVPOEkyZJnc2ADIW0= Received: from AM0PR08MB5138.eurprd08.prod.outlook.com (10.255.30.207) by AM0PR08MB4018.eurprd08.prod.outlook.com (20.178.119.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.22; Wed, 5 Jun 2019 19:23:03 +0000 Received: from AM0PR08MB5138.eurprd08.prod.outlook.com ([fe80::44bb:6d5d:24b2:3eb2]) by AM0PR08MB5138.eurprd08.prod.outlook.com ([fe80::44bb:6d5d:24b2:3eb2%4]) with mapi id 15.20.1965.011; Wed, 5 Jun 2019 19:23:03 +0000 From: Honnappa Nagarahalli To: "Ruifeng Wang (Arm Technology China)" , "Medvedkin, Vladimir" , "bruce.richardson@intel.com" CC: "dev@dpdk.org" , "Gavin Hu (Arm Technology China)" , nd , nd Thread-Topic: [PATCH v1 1/2] lib/lpm: memory orderings to avoid race conditions for v1604 Thread-Index: AQHVG2NBGy+rB9/eLEmzCahb2VJ7m6aM4iQAgAA4ZACAAFHWwA== Date: Wed, 5 Jun 2019 19:23:03 +0000 Message-ID: References: <20190605055451.30473-1-ruifeng.wang@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: c1d79393-650e-43f1-a064-0eaadc3063e3.0 x-checkrecipientchecked: true authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 67107a42-37da-47df-dbb8-08d6e9eb3afd x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR08MB4018; x-ms-traffictypediagnostic: AM0PR08MB4018: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 00594E8DBA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39860400002)(136003)(376002)(366004)(346002)(199004)(189003)(6246003)(81156014)(8936002)(486006)(7696005)(110136005)(476003)(446003)(71200400001)(102836004)(6506007)(8676002)(76176011)(11346002)(81166006)(4326008)(52536014)(6436002)(2906002)(55016002)(9686003)(54906003)(71190400001)(73956011)(53546011)(68736007)(66946007)(64756008)(2501003)(76116006)(14444005)(256004)(74316002)(66446008)(86362001)(53936002)(316002)(25786009)(5024004)(7736002)(5660300002)(6116002)(66476007)(66556008)(72206003)(478600001)(14454004)(305945005)(186003)(3846002)(26005)(33656002)(229853002)(99286004)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4018; H:AM0PR08MB5138.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: +TDrpfGRwW03tFo5+WsmYHtWTJUvWKpDlk0IXsKmWN9Qn5N2on82dMq1piLDucahMXWkZFz9+QajXRkmmcAzGFrBQYGtmlph9Ruub1ItnHklzi1yzIFN4dYu37W78YlAXk+k22wVn2eXfYgKLOlKO0BBwcoiMNe22KRnim74hei/7j72gwN05VpqPghkCsutTYUedLBbHDwJhgNmasaMw3UgDxHIWulJnabzQNjNQhfZ+FDb5mkWgkSNFgf1AFAmZ8+NitkFWRV/7SflLF6/tWGeGEJEOrpW9GWJJEk5kGHEtMGRVNwXmEXIbJvFHtBHSgNwY/Di0a8Xt3VaSGksrGM+URNgLWxjUhqfj7YGX/R+aI250hOjKESKugJqE3VA2YHF+/Mdn/MGm5VlKmnhCpp6FbiVmtNfTjSr9nkPsRY= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67107a42-37da-47df-dbb8-08d6e9eb3afd X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2019 19:23:03.4836 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Honnappa.Nagarahalli@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4018 Subject: Re: [dpdk-dev] [PATCH v1 1/2] lib/lpm: memory orderings to avoid race conditions for v1604 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and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