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 DEC6DA0471 for ; Sat, 20 Jul 2019 08:50:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9C61A137C; Sat, 20 Jul 2019 08:50:26 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 59A941041 for ; Sat, 20 Jul 2019 08:50:25 +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 x6K6jWeV028169; Fri, 19 Jul 2019 23:50:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=eOC+9cI97t0RAK58RfugmBcxC7Z4PNl3U0YM4mK1eos=; b=GukozubazhvUCw2bWfFZ8d1fsyTz5o/jCd4JZ+vqloLzrrtfsktdrdrG1BqYZ6k4h9cW SgP94k1wp0TlN0GnCT/Vm/dnCnFEog8TXCvDlPjMTwDttBhCXvbWQsu36OdkQUmLz5y2 ugvNM9fOuYvw6uxXkblyn23AaTvLGT7sV4sNwSFUNTu+8JL1LkudJ1bx77YcL7oq0Iqu VKYvqCg0Sk0G1y2HfmC/JbDc1fRryb3u4Pa3gtOkhyJNe7YC+9qFvjd3abds5wi97I7E 2Xyz7VWaEtnGQZFVcPaYVpOXOaWniJgVHhsHdEYgWaFNcDtGF9Z0U0ep0pABZnTaUoUv PQ== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2tutsg0fj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 19 Jul 2019 23:50:21 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 19 Jul 2019 23:50:20 -0700 Received: from NAM01-BY2-obe.outbound.protection.outlook.com (104.47.34.50) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Fri, 19 Jul 2019 23:50:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NzshF/YNunD5JJ+XFJWG+cR/A1yI6KDIFivJylhzUUC/KhXyZFsetNygTQ0/NpNnE0mLmyF+rDct9sQLk7he5heVcStaQsmrXUguhnnQzl3UK19DL0qMp1M1ZaritwchIzLpyVft8EqJ3XZhp6q7LHO5dLXAEqZMP1WW4BssvI4BXLqmeEv9HB8jCbbL08xrNr6oJuU8h6XvqO9cnwWvQ9U418tmvpqGUKGKjpCHgoVi4RVBxGKhscGn+zFihz8+NzAoAHmKMOAdfmR/+gS6CvOzFIM39KLv2HUhKlv51fzd+KFymJNdNvIml3lEfPvz85T7GOUXLCkSRjQDLYg4Sw== 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=eOC+9cI97t0RAK58RfugmBcxC7Z4PNl3U0YM4mK1eos=; b=e2UR5yOs2hJ8RG0nzjHjZuAT+aKd+xxWNASPg3ax5f+2SWuRGge+2JNbcx4aHU1giLAb9jFj4eYsb3BJwpb23v773qi/wwB6pNgkzKX83RNIIXA/xuImQJqExEU82IYVbVVRK4JmF7NLCGdWOH5UgTL1yDYqWekKSClR5jKzUHe6MbFwNMqgh+S9Dpcf11+SeQ72reyuhht437EGinZCPMNPUYRF4Wt5Jm4C8JTxKBXwElrM1dHC/Qjb36pc2x9hnPpL2Bcy+5VEHUJXVO3BeEf7AZ6qJ1xYj9WYj1t4lrcrPQ3OvB8LE3m5kNGoMrOV+cH/4py2k7/HmrLWldpeCg== 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=eOC+9cI97t0RAK58RfugmBcxC7Z4PNl3U0YM4mK1eos=; b=TUoI+GcDg0HQmfKin6Z1WNgfZsk4tXZ8DVr6PnpCO91uVnj9NymRGWyESDgmDgZC1R621a3Nh1w+vEkMCPDv6P6gKuc5mJlU2ljbsDLpNKDHR2QCdY407Ttg6WPthCPU8Y40YuePlF58z7Bo0yZ7U22hSWO9yi4ybgONqAagAFA= 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:50:18 +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:50:18 +0000 From: Pavan Nikhilesh Bhagavatula To: Gavin Hu , "dev@dpdk.org" CC: "nd@arm.com" Thread-Topic: [dpdk-dev] [RFC v2 3/5] ring: use wfe to wait for ring tail update on aarch64 Thread-Index: AdU+x01P5LXcYZRsQtGeOqDyfZdubw== Date: Sat, 20 Jul 2019 06:50:18 +0000 Message-ID: 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: 6195ec26-4e5b-4eb5-f0d7-08d70cde873e 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:3513; 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)(15650500001)(78486014)(66066001)(3846002)(6116002)(8936002)(6436002)(229853002)(71190400001)(71200400001)(2906002)(53936002)(2501003)(9686003)(256004)(55016002)(14444005)(478600001)(14454004)(66946007)(76116006)(7696005)(110136005)(99286004)(7736002)(476003)(74316002)(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: JC70etn9LO1/CHryevwCIxclhJbocpn92WV3eVjBWJrluma85LjSdhnf5wNSotPlNIHAOJjz1F7Qrhol6vcqKFYjvaXvcEhrNDO/TOGTrkAvcgajpYNzIvng8HAikEbSisqD9KF2loyDMJ45Q81Um3jTjQCeM/ptbFqJxWIt6TOeGl1MK6W89YzBQvZQdBT46TaXmLECz28E1RRfOpd7zJM36PAKiwAMB3ji5yoEF6x8bN+IyxLDmslqSmyf11Jg+SHQjw2OsxhdxDePZ1OlRC+nH6RXpKaQb4T9T+JcEBa0juY+1a2UOegMCKRu6LKgn5YdW4t/aSM5L9V4sQytvB9i+kHa7s/zXUqj33CCcjLIw+ut9psyq7qD1p2BlfWLfNHOBqjdSlrz8SC5jz0RGGQbE9oStmHmWRDYhQxO7p0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 6195ec26-4e5b-4eb5-f0d7-08d70cde873e X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2019 06:50:18.6707 (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] [RFC v2 3/5] ring: use wfe to wait for ring tail update on aarch64 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: [dpdk-dev] [RFC v2 3/5] ring: use wfe to wait for ring tail >update on aarch64 >Instead of polling for tail to be updated, use wfe instruction. > >Signed-off-by: Gavin Hu >Reviewed-by: Ruifeng Wang >Reviewed-by: Steve Capper >Reviewed-by: Ola Liljedahl >Reviewed-by: Honnappa Nagarahalli Tested on octeontx2 board and noticed 2-5% perf improvement Tested-by: Pavan Nikhilesh >--- > lib/librte_ring/rte_ring_c11_mem.h | 4 ++-- > lib/librte_ring/rte_ring_generic.h | 3 +-- > 2 files changed, 3 insertions(+), 4 deletions(-) > >2.7.4