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 36576A00B8; Mon, 28 Oct 2019 04:24:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8BE11BEF6; Mon, 28 Oct 2019 04:24:34 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140085.outbound.protection.outlook.com [40.107.14.85]) by dpdk.org (Postfix) with ESMTP id 701A71BEF6 for ; Mon, 28 Oct 2019 04:24:32 +0100 (CET) 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=mvf4Nlgk6Kv3MHvgTVm3CJrvm767i3T4F+b/aXWeac8=; b=odYsMwHJ70rj/Mj16tA+LQvXVmLGuCVTSaoYb7LxQ2bAJmqVKTfh1kNQTy4Q1LdlGKENW4kMsPyAIYI+3zEKSMCRg5OGu40DmP85rC+AWheF1UxnQHq/FcaK+NB69xTqDq6iHrYjYRyMtrCADLUa03widLtQr6rqHdl3ZxxT9Uc= Received: from AM4PR08CA0051.eurprd08.prod.outlook.com (2603:10a6:205:2::22) by AM0PR08MB4164.eurprd08.prod.outlook.com (2603:10a6:208:12c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.24; Mon, 28 Oct 2019 03:24:30 +0000 Received: from DB5EUR03FT028.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::208) by AM4PR08CA0051.outlook.office365.com (2603:10a6:205:2::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.20 via Frontend Transport; Mon, 28 Oct 2019 03:24:30 +0000 Authentication-Results: spf=fail (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=none action=none header.from=arm.com; Received-SPF: Fail (protection.outlook.com: domain of arm.com does not designate 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT028.mail.protection.outlook.com (10.152.20.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.20 via Frontend Transport; Mon, 28 Oct 2019 03:24:30 +0000 Received: ("Tessian outbound 081de437afc7:v33"); Mon, 28 Oct 2019 03:24:29 +0000 X-CR-MTA-TID: 64aa7808 Received: from f3e76c9b932c.2 (cr-mta-lb-1.cr-mta-net [104.47.14.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id F57205E1-3693-441F-8FEF-53594ACCF692.1; Mon, 28 Oct 2019 03:24:24 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04lp2053.outbound.protection.outlook.com [104.47.14.53]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f3e76c9b932c.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 28 Oct 2019 03:24:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BM6bTEcIB4ZkAwDaYnqjbSyvtWQbqeSjxaE4qYCN9xfZnuijqHD9S9IUzDC7/SNmPGumJ1cDZe6j008OdrhkZXhU9id+Wa/qJdzWZnlF1BqYsAnQSUlU15I6pTt3hfihQ1K8JO6mZlJWGis3Kw825HajWoLr6n9RpN24pPXQ8TO70zxA1Dt7nURZW0z2QINUlpF3odUhJy2Q0ubZtJlmOWD8nSuwB8JINIMuEQCYu+ar5x6JA6ncKWr9CD6DVuyc7HEsdCx4grsro204EOKKcfHLOfNwTTfToE05TiaWv/HkvUIwaPemkMqiwvJJQCJ95IgNehtdjmOP7vbm3QXw5w== 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=mvf4Nlgk6Kv3MHvgTVm3CJrvm767i3T4F+b/aXWeac8=; b=L6vtPrWe2eVt7E1o7IQ+RhymtJu2xpVxqqXL3ytVwjhzSJbrGp9Lv2RtKssiC1tpMGE5EjaaciWV+kD3NBPiwmL0G2BYRhAgHtqNqC2gmwkVlZQJkB4mtYQPkM3bnarMzAi6Y1RYmzOu9LXlbeC1qn+ZHCCWjpmNLkUoqAE0IuZnoirgjx+H10Y2bispMECfr+jTjKIUEyTEV5/PysmnQm88WhNMQXnyP4zoour3d3lh53gh09lfvT240a0Gzz2zibt9e9UPNyPEbGukd1dgMgOn9AEzelwNN3QYa57k+mJOQRKQSMQm3mP/Onbsv/yZZscD35w0MdnEEKqRS7Yd7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none 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=mvf4Nlgk6Kv3MHvgTVm3CJrvm767i3T4F+b/aXWeac8=; b=odYsMwHJ70rj/Mj16tA+LQvXVmLGuCVTSaoYb7LxQ2bAJmqVKTfh1kNQTy4Q1LdlGKENW4kMsPyAIYI+3zEKSMCRg5OGu40DmP85rC+AWheF1UxnQHq/FcaK+NB69xTqDq6iHrYjYRyMtrCADLUa03widLtQr6rqHdl3ZxxT9Uc= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.27) by VE1PR08MB4719.eurprd08.prod.outlook.com (10.255.113.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2387.24; Mon, 28 Oct 2019 03:24:22 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::8c82:8d9c:c78d:22a6]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::8c82:8d9c:c78d:22a6%7]) with mapi id 15.20.2387.023; Mon, 28 Oct 2019 03:24:22 +0000 From: Honnappa Nagarahalli To: "thomas@monjalon.net" , Jerin Jacob , Ola Liljedahl , "Gavin Hu (Arm Technology China)" CC: "dev@dpdk.org" , "pbhagavatula@marvell.com" , nd , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "bruce.richardson@intel.com" , Honnappa Nagarahalli , nd Thread-Topic: [dpdk-dev] [PATCH v2 2/3] config: add arm neoverse N1 SDP configuration Thread-Index: AQHVhTjdjUGPgoqrmUGLW39o/DcA+adfzawQgAAxqICAByYYEIAH6WS/gABkJaA= Date: Mon, 28 Oct 2019 03:24:22 +0000 Message-ID: References: <1564615940-13183-1-git-send-email-gavin.hu@arm.com> <2227745.9fKeDGhzLh@xps> In-Reply-To: <2227745.9fKeDGhzLh@xps> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 058044b7-5afa-4f5c-8a27-48175377b7a7.0 x-checkrecipientchecked: true Authentication-Results-Original: 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-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: af124e2d-26b5-4731-9c0b-08d75b565866 X-MS-TrafficTypeDiagnostic: VE1PR08MB4719:|VE1PR08MB4719:|AM0PR08MB4164: X-MS-Exchange-PUrlCount: 1 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:9508; x-forefront-prvs: 0204F0BDE2 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(366004)(376002)(346002)(39850400004)(136003)(396003)(199004)(189003)(6506007)(102836004)(76176011)(7696005)(26005)(186003)(53546011)(25786009)(6636002)(99286004)(66066001)(2501003)(256004)(486006)(66946007)(66446008)(64756008)(66556008)(66476007)(476003)(478600001)(33656002)(11346002)(446003)(71200400001)(71190400001)(52536014)(76116006)(4326008)(2906002)(3846002)(5660300002)(8936002)(14454004)(6116002)(305945005)(7736002)(316002)(6436002)(86362001)(966005)(6306002)(54906003)(55016002)(9686003)(8676002)(229853002)(81156014)(81166006)(74316002)(6246003)(110136005)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4719; H:VE1PR08MB5149.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-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: MHn19vPst4TjBqdV6AoHN6rLojvpNLvnWEd0LiJqqNOMu7g/Zj7pqFZlpYB15CTth1j2KMiCYJEAIMxo8RD77u6ArM2IolL687pO5FjSl0v4TpYjfYrQc59KNpVA8QrU2zV0PShxCsleKdQoHY07hc0XEb9BERzVUMxxqKNa4P3iCiVmBalAD1ZaO3UIxQ4pOca+EbkgYNKRvS9RVzawKuoMQUuXxThoGpYxiyc/7pVrzKj3DMRZ4e5kjc8rLzmCqhG0nKT69mWTqXA4l3Ubv1gEWTZrFFcxDuxAEXKiCnHr8TkjnultxdyHbL2neKX81Ux9/waKh/DrOpYLRvjL5E6vDxpT74q4PGx/db3N086E/m5xKsi2E8dzFevBgjl6eULbbCffLEEOsWHizhJCEokwzSj6+0z/WjwLPCJnGZzBtqi2+pDsjRzESAUBPX+mxX8uaGMM+XFrWNkvLUDftI57qKh8QV5UUvqAy+gbje0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4719 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT028.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39850400004)(376002)(346002)(136003)(396003)(1110001)(339900001)(189003)(199004)(26826003)(76130400001)(70206006)(356004)(316002)(54906003)(26005)(6636002)(50466002)(52536014)(966005)(110136005)(25786009)(2906002)(478600001)(22756006)(99286004)(33656002)(6506007)(5660300002)(53546011)(70586007)(446003)(6306002)(9686003)(6116002)(4326008)(476003)(105606002)(86362001)(76176011)(55016002)(14454004)(3846002)(186003)(336012)(305945005)(7736002)(66066001)(486006)(6246003)(2501003)(102836004)(8746002)(8936002)(81166006)(81156014)(23726003)(97756001)(8676002)(47776003)(46406003)(126002)(229853002)(74316002)(7696005)(11346002)(473944003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4164; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Fail; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 3b6b01c1-e2df-43df-f117-08d75b5653da NoDisclaimer: True X-Forefront-PRVS: 0204F0BDE2 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iIl4lDzTR39uyjqQh9uqzP6qSfU7Hq1AYr5fKH15syMFvxWxoOvfYLhqZZb+0iHf+kgN/jjorKmtOXyynzSzwVduB9PQ/IchjUPPXiqF4KyLa1Rb3hV1fPl+5ZXVR43j7GY/DeXpyra+18lI/fYXrLmxx+aYtv+sjQc4u/pzU5hf/F6BnC1oPh1kiDYPwXFQbi2qXyRqEVk9Hequ2p6PcVyyva59fe/ey8gTZ2PQiokLqkUl8B52+8Cr/LvlhUXSAMsWXljrTU0QJWGE0EmZv0C9rR2rCvLwsmRA6jMIJ1BU7iTdx8iFvu0CMozk0AuMoL30a8j0azo5QxwLnhm8VQ8rbrXA4fJwwO7SPT2HQK+wq51EtfZRuGjFy8g3HDZY/U6jN7kY4YDrvp+dmDDLERXA/WyRC7w5v9gFmaENTIzjZNcucC6HeU1v2EJvXGxLaQw79N0zNSwznrJq/weQDkABugIoE/crMqvJTQs0LUc= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2019 03:24:30.4128 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: af124e2d-26b5-4731-9c0b-08d75b565866 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4164 Subject: Re: [dpdk-dev] [PATCH v2 2/3] config: add arm neoverse N1 SDP configuration 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" > 23/10/2019 07:03, Jerin Jacob: > > On Wed, Oct 23, 2019 at 2:37 AM Honnappa Nagarahalli > > wrote: > > > > > > On Thu, 2019-08-01 at 07:48 +0800, Gavin Hu wrote: > > > > > > > Arm N1 SDP is an infrastructure segment development platform > > > > > > > based on armv8.2-a Neoverse N1 CPU. For more information, ref= er > to: > > > > > > > https://community.arm.com/developer/tools-software/oss-platf > > > > > > > orms/w > > > > > > > / > > > > > > > docs/440/neoverse-n1-sdp > > > > > > > > > > > > > > Signed-off-by: Gavin Hu > > > > > > > Reviewed-by: Honnappa Nagarahalli > > > > > > > > > > > > > > Reviewed-by: Steve Capper > > > > > > > --- > > > > > > > +CONFIG_RTE_MACHINE=3D"neoversen1" > > > > > > This should probably be "n1sdp" as this is the name of the > > > > > > platform that matches the below configuration. > > > > > A clear definition of RTE_MACHINE is required. Jerin? > > > > > > > > I think, In the existing scheme of things, RTE_MACHINE defines, > > > > where to take the MACHINE_CFLAGS mk/machine/xxxx/rte.vars.mk > > > Ok, thank you > > > > > > > > > > > Considering the fact that there will be a lot of reusable IPs(for > > > > CPU) from ARM for armv8, I think, it would make sense to > > > > introduce RTE_MICRO_ARCH to avoid a lot of code duplications and > confusion. > > > > > > > > RTE_ARCH example: "x86" or "arm64" > > > > RTE_MICRO_ARCH example: "a72" or "thunderx3" - define= s > > > > mcpu and armv8 verion arch etc > > > > RTE_MACHINE example: "bluefield" or "thunderx= 3" > > > > - defines, number of cores, NUMA or not? etc > > > Looking at mk/machine/ directory, looks like RTE_MACHINE seems to be > defining micro-architecture for Intel. For ex: hsw, nhm, wsm. I see the s= ame > for Arm as well. > > > Are you suggesting that we use RTE_MICRO_ARCH to pick mk/micro- > arch/xxxx/rte.vars.mk? and RTE_MACHINE would pick > mk/machine/xxxx/rte.vars.mk, but contain NUMA, #of cores etc? > > > > Yes for Make build. I think, it is deprecated soon, so we need a > > similar solution for meson. >=20 > Yes I would prefer we clean the mess in Meson, instead of talking about t= he > makefile system. > And honestly, N1 is not needed in the legacy makefile system. Unfortunately, most of the guys I talk to are still on makefile. When is ma= kefile system getting removed? >=20 > So focusing on config/arm/meson.build, > I think RTE_MACHINE is defined only for API compatibility with makefile. > However, I doubt this value is used by any application. > I think we can try to remove RTE_MACHINE from meson builds in DPDK 19.11, > or use RTE_MACHINE as micro-arch (my preference). 'MACHINE' means different things to different people, which is the root cau= se of this discussion. 'MICRO-ARCH' has a very clear meaning. Do you see any problem going with MI= CRO-ARCH instead? >=20