From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F05D1A0471 for ; Sat, 20 Jul 2019 08:46:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1A7352C17; Sat, 20 Jul 2019 08:46:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 75C911041 for ; Sat, 20 Jul 2019 08:46:46 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6K6jWeS028169; Fri, 19 Jul 2019 23:46:42 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=QiTYzB9emKLKTo3ivIuzLJyJJ29s9Wl/62QfS63YmcI=; b=hbGtr+IXl33x4vu0565rk7YtNZxfN5M4hS3VpJcQMcuH98jE3rQHMDY5SlAPSdFqsdsV OJsHcTzPpX8OUb5uG07Tg1V9wJY5ewQcAxXTl+VX5fyiORgOqikoBTqFz0dPUTx2dkSe LHVz+ewJj5SO9Q/hDWC+/eBaUhKKn7hjOmIWi+Vs3/ucvO781qA500heMEiaw5RnZb0S +eSLhh9vHNAL2JAthoIBYmI4FyY7ueLTy4PERodGBO+G1F9W4CibHM5UUxFKJyMJzZhV APm+qN3wJwV2KT6GJIVAKkHTdpOfaXjGkgSQBYCML72efzbOsp3TEQHrw0kB8PmVjftK Pw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2tutsg0fbp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 19 Jul 2019 23:46:42 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 19 Jul 2019 23:46:40 -0700 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (104.47.50.57) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 19 Jul 2019 23:46:40 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f3Gl+iHLuceoFm5xaUJM+1MlkC2yDuGHBY6O0RP6lMtEkcUqYTlCA/gpgR8vB34l76MZstdg2PAn2ieo0+NZUZjigNSLaqwZBSF+3RqiIOV7BHyphOaFA333vr5r4wK2RbSTg+A7/v9458MGEM7w74RqigWh0nRNvs1Y0JYrFQOSQ06wGeKLAiFijGpTu5RjaoDXe6KU0xN8ee0gZosu9JIp8CPWa+Cly7CQpxH5H5sDCHKItopK4r1CSubVOJkEVklAweKp5MDM8Ry2FO+FdqItI+eCYxztjTNG111Xk97/CYuyUMBQZJz2S260vtDmjfyg17VAmGI+CfEBKWy/CA== 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=QiTYzB9emKLKTo3ivIuzLJyJJ29s9Wl/62QfS63YmcI=; b=BQVCDsIZZqf1yLRJVX5725Ousz5edMY84WaesZz6AhBJy+uW6Xat9dPF4sY/9zi7E2UaacUvVOIcl/yY1hSbeS7rQ1/nrOFobuUOxQmnBbzjq5XrM/BGRR1864D5jacsiIZPW5rV7gyDuClO/+2fcMoHEbSVJW3fmo5T/eukgCTtr9oolR+RAnbWi+VZo/4cZfGpmII9Jr6NR6bK+XTY3MompXoEK43b7n4dWN2Tnn6Kv5PVJioKgDLInVgOJoi/CNCkB2HBIQYGqZUkxxIjRWW5TVgQ1Qk2wimDseeNBL928AFwN/mCI/va0OBuSyhQYuAzoJqn0Of4sxEAFZozGw== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QiTYzB9emKLKTo3ivIuzLJyJJ29s9Wl/62QfS63YmcI=; b=OfP40hZV7N5LN2ehkqlcFOOebRSzKPLVzTcdKtX1I9pRc+ubFcNyW8ZGygR1DyzckoeX/YXkCvQtmnTdrLywqGVfFiMmAyg2obeqxr/bJPcfZdtFeU6wxUjpxTxTsRwfZD9J6PoEb4bVBf8ys5lDV2ZwX/LVMf97iuV7FgcBEaY= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.14) by CY4PR1801MB1928.namprd18.prod.outlook.com (10.171.255.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.14; Sat, 20 Jul 2019 06:46:39 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::1859:6ecd:9898:f96c]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::1859:6ecd:9898:f96c%7]) with mapi id 15.20.2094.011; Sat, 20 Jul 2019 06:46:39 +0000 From: Pavan Nikhilesh Bhagavatula To: Gavin Hu , "dev@dpdk.org" CC: "nd@arm.com" , Jerin Jacob Kollanukkaran Thread-Topic: [EXT] [dpdk-dev] [RFC v2 1/5] eal: add the APIs to wait until equal Thread-Index: AQHVMX2WCvAIY0bJrEKCsweQbvajP6bTKmqQ Date: Sat, 20 Jul 2019 06:46:38 +0000 Message-ID: References: <1561911676-37718-1-git-send-email-gavin.hu@arm.com> <1562144316-14687-2-git-send-email-gavin.hu@arm.com> In-Reply-To: <1562144316-14687-2-git-send-email-gavin.hu@arm.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [183.82.17.219] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 64f2da13-2aec-4caa-2a6b-08d70cde0444 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:CY4PR1801MB1928; x-ms-traffictypediagnostic: CY4PR1801MB1928: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 0104247462 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(346002)(366004)(396003)(136003)(13464003)(189003)(199004)(6246003)(486006)(86362001)(33656002)(68736007)(4744005)(25786009)(107886003)(78486014)(66066001)(3846002)(6116002)(8936002)(6436002)(229853002)(71190400001)(71200400001)(2906002)(53936002)(2501003)(9686003)(256004)(55016002)(14444005)(478600001)(54906003)(14454004)(66946007)(8676002)(76116006)(7696005)(110136005)(99286004)(7736002)(476003)(74316002)(446003)(11346002)(76176011)(66476007)(305945005)(186003)(52536014)(5660300002)(6506007)(4326008)(66446008)(64756008)(66556008)(26005)(316002)(102836004)(81156014)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1928; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: jVtf75OZAVvo2sH67qJuY/UMN2Y9n2Rm74NSVa2hi4H7UxzxtPLSmJqLVwOLBfVHdy4ZScxiQMesV61DhOG83oSmEmO2qNnGTuazi4RCfNRBVNWzRhZPj57Cn8nFrzaPEhbJXW1zeiJLGANwZ2MxXC05xlc1sTW6ILfkSjVq0tWOJRjJfwjWJvUexY66tP9uwxsImf8nEU2JrlPanVOKQf5PkKw6v0VwelXaGCM4KDlHWAJmrReErriZ0Ft5qwkaUAvtefKRrlX2iDBiKEoHPNtSHhAz8USSLCN5NogmQ4r8FZunied7RuIsg1LU8RcSszX2M/mKXvyx6+rtKYY1ySF4mQ1jWvw/dFTHGYZjjplP1G5eXaO38WW3Fq4sAm4/eViVeSqBXI3eRN9QU7jSgqQo0pIM9Sg6bTVsuQrDeo8= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 64f2da13-2aec-4caa-2a6b-08d70cde0444 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2019 06:46:38.8624 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pbhagavatula@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1928 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-20_04:2019-07-19,2019-07-20 signatures=0 Subject: Re: [dpdk-dev] [EXT] [RFC v2 1/5] eal: add the APIs to wait until equal X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Gavin Hu >Sent: Wednesday, July 3, 2019 2:29 PM >To: dev@dpdk.org >Cc: nd@arm.com >Subject: [EXT] [dpdk-dev] [RFC v2 1/5] eal: add the APIs to wait until >equal > >External Email > >---------------------------------------------------------------------- >The rte_wait_until_equalxx APIs abstract the functionality of 'polling >for a memory location to become equal to a given value'. > >Signed-off-by: Gavin Hu >Reviewed-by: Ruifeng Wang >Reviewed-by: Steve Capper >Reviewed-by: Ola Liljedahl >Reviewed-by: Honnappa Nagarahalli Acked-by: Pavan Nikhilesh >--- > .../common/include/arch/arm/rte_atomic_64.h | 4 + > .../common/include/arch/arm/rte_pause_64.h | 106 >+++++++++++++++++++++ > lib/librte_eal/common/include/generic/rte_pause.h | 39 +++++++- > 3 files changed, 148 insertions(+), 1 deletion(-) >