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 E21A5A046B for ; Wed, 24 Jul 2019 14:25:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3048D1C1D0; Wed, 24 Jul 2019 14:25:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 186001C1CF for ; Wed, 24 Jul 2019 14:25:30 +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 x6OCPR8X012393; Wed, 24 Jul 2019 05:25:27 -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=/vQg3eFhWkrX+cRPIWCaxN6a6d02IU1oGuW4s5QqPJ4=; b=xxQyGGfsDS8Eh1UNDYOutRQQhgvC+xPya3Ss0TUsx0UWOqWaSHsm+7B7bWO4x+F9hv7a 1ZrseBSCpZp05Ghbo8NXbKfM3Db7YWbaOenq7sJrcqP0nps0moxloovwn6S4FuYsJRjo uJQ9Q1ZvTd66U5UKvndQzyeyHZjxS5UJLU+0eb6Amkfa1jx4vcDKyjnoLJKZ0ZXbcEQF PMZLpxxxjfNR0g54JIhYXW5UpWKMrmRAuSdXki/rJs7aZJvjAcOy8katMtuaYhz1qKei BVP8H0P+PUHO/ZZiaJkBWl7AKkOTI2298wDznFVVceEp7bXO9SKz9nRC/UbnT7f9bfk9 iQ== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2tx61rbyrr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 24 Jul 2019 05:25:26 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 24 Jul 2019 05:25:25 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.54) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 24 Jul 2019 05:25:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dYc2DcOCG6+8nAiC2d9MCvBj7a3XawFDyeUgSP2XLtJS9FsouM3IMXqSUMywo84Eoc9jXQbEgJhqOcif3/LDvAKMC2noEn7XzuzJVV36g53hpa/9dA1xGd8gqT5tf4gCIc1c6845dZSe3QhTRhqWcvlvA2mcCzRkHlIFvlfHukifFvgyT74J62bs4wqaA/jQ7HSEku7/SyymnIqPfiD+2lyAPQzz25U2V37BsrtN7JMrZSHXJDQIlDMDzWpq83lQT515VZBhjVJOdaASF1yPbPpw5PL92BALOwxogyvhRm8+2VYdzRcXEwgq1Ai3Tq3jUdP+dK83Yz4SjXcZxmbR1Q== 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=/vQg3eFhWkrX+cRPIWCaxN6a6d02IU1oGuW4s5QqPJ4=; b=Dcvy8DD9wzOuORZV+cT3ifmOVPA49HRe91Rf8d8/lE0AjcQuYKT05i6r5WkPuNDQwFDCvn0IPsP5J5nI3e8viD/1HIjpsmdIC9xHu8ywV3jtaetSxJEGZ3nlzdriuMctFNl1zWEVVqwoka1GnKA1jrrYAPKhl85+BBU/JvehoGqcyURrrqliOqgOrDOMkWoXtW1rjX2N8dIZS0mXOdse8z/UHUjQodMgrvoxcW25I3zX8kwdhxjTQdpPsZl4nIJuCPF7PqSGzRUGhEkVixjanbLsh3kURPq+hLlZVbxGF9gFeOWjIt+KUY9T2Dhtv8tXV03rq0MPcwgggyfQ29zaQg== 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=/vQg3eFhWkrX+cRPIWCaxN6a6d02IU1oGuW4s5QqPJ4=; b=x92/a4EAtTHUFt200CdePnhpXfS9aOvEWxrcGy4eLLOWYuPeO2mFkkB8Nfl6sTlW8sa0E9CfvgJYc0a8IMTkxfIS3gd5pVbkOn3anKAPgFYJRPXeGioB+10n/rFgNgz2fSxK9E+L78YIrrOcZRnJZIt1/+k0igCWR+eIYmM+Kjk= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2357.namprd18.prod.outlook.com (20.179.90.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.16; Wed, 24 Jul 2019 12:25:24 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2094.013; Wed, 24 Jul 2019 12:25:24 +0000 From: Jerin Jacob Kollanukkaran To: Gavin Hu , "dev@dpdk.org" CC: "nd@arm.com" , "thomas@monjalon.net" , "stephen@networkplumber.org" , "Pavan Nikhilesh Bhagavatula" , "Honnappa.Nagarahalli@arm.com" Thread-Topic: [EXT] [PATCH v3 5/5] config: add WFE config entry for aarch64 Thread-Index: AQHVQW2BJ69oz6dvQEOEi9I3F9E3KKbZsWyw Date: Wed, 24 Jul 2019 12:25:23 +0000 Message-ID: References: <1561911676-37718-1-git-send-email-gavin.hu@arm.com> <1563896626-44862-6-git-send-email-gavin.hu@arm.com> In-Reply-To: <1563896626-44862-6-git-send-email-gavin.hu@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.248.176] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4a05901f-2fd3-4d2f-8354-08d7103200a9 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2357; x-ms-traffictypediagnostic: BYAPR18MB2357: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0108A997B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(346002)(366004)(136003)(376002)(39860400002)(199004)(189003)(13464003)(478600001)(186003)(8936002)(446003)(66066001)(6246003)(81166006)(4326008)(81156014)(26005)(14454004)(66446008)(99286004)(66946007)(76116006)(11346002)(53936002)(9686003)(102836004)(8676002)(66476007)(71190400001)(86362001)(71200400001)(64756008)(486006)(6436002)(53546011)(3846002)(14444005)(256004)(476003)(54906003)(110136005)(66556008)(316002)(2501003)(25786009)(5660300002)(305945005)(52536014)(55016002)(76176011)(6506007)(7736002)(68736007)(33656002)(6116002)(7696005)(229853002)(74316002)(2906002)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2357; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: DXO4xRG2bjZ3QMLAq2tvjVqTzBqJ/69lRg8owF/LkF+u3SYfeWguJf/P6hfsFxWmYw151QMlR0eZkdcMbpyBkVuAAg5J9yRLNEY/NQJxYtUr/B1261tBD4Ir5DM/KJC53/UeOQjT+suoJkERwGhg8wQjN4aKWVjiF/ZGe6H+6tj8Yp37LdYnql6EMGuIkL4/BObnJUPuPoD8g0ctaJsEJz/d/gAjTNVhDJEwxTHqMGnLOj+VkAYsMscX3RUfU4CdVTT8+bw+hMURO7OIo+3jRz6nYL0W4VhEcF25/7JRye5g9PE1Yt7YqznFWOuEIWdAt3sf1eiJ1GD8rUtOcsApCBTtX3n08yODUhe8iB1RQ1zpzrar09lZLzttVm+ZycyX/UJlIASZtAMsZKEwrsXw3KBNwt3/T8WPj+K5e+GzMYE= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 4a05901f-2fd3-4d2f-8354-08d7103200a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2019 12:25:24.0203 (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: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2357 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-24_05:2019-07-24,2019-07-24 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH v3 5/5] config: add WFE config entry for 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: Gavin Hu > Sent: Tuesday, July 23, 2019 9:14 PM > To: dev@dpdk.org > Cc: nd@arm.com; thomas@monjalon.net; stephen@networkplumber.org; > Jerin Jacob Kollanukkaran ; Pavan Nikhilesh > Bhagavatula ; > Honnappa.Nagarahalli@arm.com; gavin.hu@arm.com > Subject: [EXT] [PATCH v3 5/5] config: add WFE config entry for aarch64 >=20 > Add the RTE_USE_WFE configuration entry for aarch64, disabled by default. > It can be enabled selectively based on the performance benchmarking. >=20 > Signed-off-by: Gavin Hu > Reviewed-by: Ruifeng Wang > Reviewed-by: Steve Capper > Reviewed-by: Honnappa Nagarahalli > Acked-by: Pavan Nikhilesh >=20 > +# Use WFE instructions to implement the rte_wait_for_equal_xxx APIs, # > +calling these APIs put the cores enter low power state while waiting # > +for the memory address to be become equal to the expected value. > +# This is supported only by aarch64. > +CONFIG_RTE_USE_WFE=3Dn # If it specific for arm and none of the other architectures supports it th= en I would like to change the config as CONFIG_RTE_ARM_USE_WFE # Even if it is disabled, have the =3Dn entry in config/common_base to know all supported configs in DPDK in one place. # Arrange all CONFIG_RTE_ARM_* together in config/common_base