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 044C0A04DD; Wed, 28 Oct 2020 07:07:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A0C4372E3; Wed, 28 Oct 2020 07:07:31 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2040.outbound.protection.outlook.com [40.107.20.40]) by dpdk.org (Postfix) with ESMTP id 87E9772DE for ; Wed, 28 Oct 2020 07:07:29 +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=8wFBjJHg7Lw8T/dHCXVg8ugWPmg+Lz/AWoB17zIgdlM=; b=WXeWuBtdpZU5r7Nn/5NooO20weMK9KsFqIqsW0O3AjLJf+PnHC65l4n2fPcFKM20OJiAXjIDVvPZjupz9/oBJakiZj+dAWT1oCcI0REWs1PunjJps1jbrnbui6VEaon8+oJ0Z5LRWX72Pmp+Gqtt4yZ7QP89hlFw6tJo6Z7xZxs= Received: from DB6PR0601CA0019.eurprd06.prod.outlook.com (2603:10a6:4:7b::29) by DB7PR08MB4604.eurprd08.prod.outlook.com (2603:10a6:10:34::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Wed, 28 Oct 2020 06:07:27 +0000 Received: from DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:7b:cafe::e2) by DB6PR0601CA0019.outlook.office365.com (2603:10a6:4:7b::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18 via Frontend Transport; Wed, 28 Oct 2020 06:07:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (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=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 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 DB5EUR03FT026.mail.protection.outlook.com (10.152.20.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3520.15 via Frontend Transport; Wed, 28 Oct 2020 06:07:27 +0000 Received: ("Tessian outbound e6c55a0b9ba9:v64"); Wed, 28 Oct 2020 06:07:27 +0000 X-CR-MTA-TID: 64aa7808 Received: from afec479460c6.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9F931C15-2A0F-4275-B622-6A83995E6BB2.1; Wed, 28 Oct 2020 06:07:21 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id afec479460c6.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 28 Oct 2020 06:07:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EB+tA6krCxN3goLdodzg9rzWGKrb0xG/vlrTmy+uqG8IXW9R/7htLIYQZ/OvqFVII0WpHQnlqYljp0CGnvGdz7hhNCpApc29nH7mYJIvFNEzu75LHAm9oTa6RH04tyCbIA3WXSIt8fH2HhTKhj3Y1owy4g6qQYQUXlKOi7JolO6LooEsm+eD/luMszlXpPuJMxm/hP9vRoe6VgqwDpv9GQFfufQngTG3X7Vr6mjdx3EHF2zHZ9Icmv3V0hQdYhW3esxQicog8o0TPuz8jPlY6WXEohLLk3n1Fo/+3K2xT+BB84AjOgegNnmaMFzSTGH9NWZrmfLT1suZxDiTV3WMNQ== 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=8wFBjJHg7Lw8T/dHCXVg8ugWPmg+Lz/AWoB17zIgdlM=; b=M4pKvgXFSyZWlI6+He8XJpDqMaCgbzAlGgbry2SSbsOWO8n1ONiIfDD7gVHyp3MT6V0VpBDUd9S79E+eIeDsaVVgYJd36GfLT79o+wIq2JrG3G1xCn66YektYhX8D71ifxXplBjcJidTcv7oVfELtsraevOLmxGUxzISlvCn30cUCBqvtNlIMYzWU25lVKV2r6OYeJCOgvSlHZ72s6ES6d54cqkoGzU/AsMLPd4zullxDjl4iGn+ZG45ZF0tMlhI9usUPx2Vievxp/ptrjy7jM3cL9a28OwkQg85UYpvG4WMktpLKuw1IEzhhFkAF8P3sH0V33VNDWPxumiTeJgCOA== 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=8wFBjJHg7Lw8T/dHCXVg8ugWPmg+Lz/AWoB17zIgdlM=; b=WXeWuBtdpZU5r7Nn/5NooO20weMK9KsFqIqsW0O3AjLJf+PnHC65l4n2fPcFKM20OJiAXjIDVvPZjupz9/oBJakiZj+dAWT1oCcI0REWs1PunjJps1jbrnbui6VEaon8+oJ0Z5LRWX72Pmp+Gqtt4yZ7QP89hlFw6tJo6Z7xZxs= Received: from VI1PR0802MB2351.eurprd08.prod.outlook.com (2603:10a6:800:a0::10) by VE1PR08MB4766.eurprd08.prod.outlook.com (2603:10a6:802:a9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.18; Wed, 28 Oct 2020 06:07:20 +0000 Received: from VI1PR0802MB2351.eurprd08.prod.outlook.com ([fe80::14d4:6ade:368a:204b]) by VI1PR0802MB2351.eurprd08.prod.outlook.com ([fe80::14d4:6ade:368a:204b%3]) with mapi id 15.20.3499.018; Wed, 28 Oct 2020 06:07:19 +0000 From: Ruifeng Wang To: Vimal Chungath , "dev@dpdk.org" CC: Honnappa Nagarahalli , Dharmik Thakkar , "alisaidi@amazon.com" , "bruce.richardson@intel.com" , "hemant.agrawal@nxp.com" , "jerinj@marvell.com" , "jerinjacobk@gmail.com" , "juraj.linkes@pantheon.tech" , nd , "thomas@monjalon.net" , nd Thread-Topic: [dpdk-dev] [PATCH v2 1/1] build: add Graviton2(arm64) meson configuration Thread-Index: AQHWrJ8Xc6jDnvI+K061hAUj2Coquqmshrvg Date: Wed, 28 Oct 2020 06:07:19 +0000 Message-ID: References: <20200909011109.2048-1-vcchunga@amazon.com> <20201027201733.14206-1-vcchunga@amazon.com> <20201027201733.14206-2-vcchunga@amazon.com> In-Reply-To: <20201027201733.14206-2-vcchunga@amazon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 6C97C06A08C6F94086E04D765C66FB07.0 x-checkrecipientchecked: true Authentication-Results-Original: amazon.com; dkim=none (message not signed) header.d=none;amazon.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.111] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 606d308d-220b-45c4-c644-08d87b07bef5 x-ms-traffictypediagnostic: VE1PR08MB4766:|DB7PR08MB4604: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7219;OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: oRPMotEdUR8gPoGSNzeJheI/HiDBskuveHZNWWurg1Vbhr6neK/XwWBbnW3X1wckf9lYPVohl/294vdRPZ2PVP6jufkcOcDNLqtXpNTGcFlOXqiH2BdPW+XNzgq3V0xJo3GZ0nFz3QVzXx/eLbXlhrU1xfyc84gVI18SmtWYmmQBzDxy5tpVVZv4o1Jc/g+672QBnkaZgz1l/7gYBZG/QvpJIe9q7M6PcPSo+GAam2Irf815lbwE6MIGWcMVDhJXYVtE8o5+ONprrnvCAq0XcACr5CzsHpMfB8Zbbzy3nwy0HbF5gEfa1LvTEh76BqlxMxRB+WDMyizV7QMy1ffzA1omO4+GTgjrT1TPNSA640fNjjNFauYA8gze7BQQMeE8ErrBcxGGBf92GiK2hCW0cA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR0802MB2351.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(366004)(136003)(39860400002)(9686003)(52536014)(8936002)(86362001)(5660300002)(54906003)(110136005)(4326008)(66446008)(64756008)(66476007)(6506007)(66556008)(66946007)(53546011)(76116006)(7696005)(2906002)(26005)(33656002)(83380400001)(71200400001)(186003)(966005)(55016002)(316002)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: gyEHal05ASfmp2VEIdF3MqSlOW+WVx3+IWTrU72a23XVY0lwZW8Bn9NveZ+BUz5eu+4GB08DOLHzOKmrJ0Ou50W6bq2s5rwupRjKYspb3oaIa6YhmZmSQoOp3FmSb1yKBNyzmwYogsiM+E20qQMj5kOaz4IaVHWlKiK/pwTneUgIZe6shvroOKdfOvSGool0dUhy4M48IMvrH5Vu8WQdTiOLDl0kyheMv7ZaUZG/neRSgov2S8ibl3nbEQIlhqmT3MWmd1K+CrlH7CI5hA5o+/5FcAhp9WDmOypxBDffQbBqxWSjtdeGrCofmXE3stvq2z4l16+UpAHl2vDOK2a446weFlfk6MqHoYO8gnjuHxmP97GUDBWPRQdVL8ahqd+tHpYZE+kEPTNHtasRS9VPBINn7qHqpxXQQhpCNHQAeUXkLdg50yY1zAl717vgsDAxfiPOcfSHgkVUfueybUBekuRIiosJIVFTZ2clLPj0OWccE8DoEHFULvYkeYqxkZOWV6+yE+X40bEJZMiwsSzCu7MqOghyDq1cfUo7InQfd7WGAnkok90frOM4aP9v+o7sYgrpGw7/ItuCy1KNNpiXZ0M2xDxk5I7l85ah/XZGSBfbDuZQZ0beO8cSMKD8jHguylyLiCQBBDxXOMSah2rMuw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4766 Original-Authentication-Results: amazon.com; dkim=none (message not signed) header.d=none;amazon.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: a20c04b1-a8af-4fa1-41d8-08d87b07ba75 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xYh5ZlQ8s6jU+3zzLQtnTVLTcJPr6L+bZ1tNcxkubHaxiafwea75J44FGDx/E7vUt8jMpipAL0hSS9U6iDOIImTAWmyZJfDlKm3HuBXb0Wuw371+hupm4MlJ2vcePfeUz95PjFSxV6VPf+qP7kMZi/MWQ4xFdu9tVBAL780N05T6Lh2TyX7YXs6FJ9/oGHuQE+nTih0Ig3hcB1UMPXdDR1wn8m+o6HTG506eviYYr92YY0h2lK/1DBY3Tk0vw/s6gmwYJGO0lj9vN/bBv30oMzSTjvNJhR580f6coSS9r5QgII22efbc/SkzYEbMFrPgtT/ugtv7nxU0fhhmlWN5ith7nEXccOdJfcboF4UhAFkTi5DxFH7tMwHzViWZdG1cAo43yTdJNKuj0Kc3XjEKBsi5UlrHyTgNTiJZcDDwj15yrcCJdUCuSHWDc4KSWGNSQH6rSieFNY1+ex9o/HnoRBR4zoiQ7Nd3359zgC4Y1Kg= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(136003)(39860400002)(46966005)(6506007)(26005)(110136005)(186003)(82740400003)(5660300002)(54906003)(70586007)(55016002)(53546011)(70206006)(83380400001)(7696005)(33656002)(52536014)(966005)(356005)(82310400003)(47076004)(316002)(336012)(478600001)(8936002)(2906002)(4326008)(86362001)(9686003)(81166007); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2020 06:07:27.1620 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 606d308d-220b-45c4-c644-08d87b07bef5 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-AuthSource: DB5EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB4604 Subject: Re: [dpdk-dev] [PATCH v2 1/1] build: add Graviton2(arm64) meson 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" > -----Original Message----- > From: dev On Behalf Of Vimal Chungath > Sent: Wednesday, October 28, 2020 4:18 AM > To: dev@dpdk.org > Cc: Honnappa Nagarahalli ; Dharmik > Thakkar ; alisaidi@amazon.com; > bruce.richardson@intel.com; hemant.agrawal@nxp.com; > jerinj@marvell.com; jerinjacobk@gmail.com; juraj.linkes@pantheon.tech; > nd ; thomas@monjalon.net > Subject: [dpdk-dev] [PATCH v2 1/1] build: add Graviton2(arm64) meson > configuration >=20 > Add meson build configuration for Graviton2 platform with 64-bit Arm > Neoverse N1 cores. This patch makes the following changes to generic > Neoverse N1 config: >=20 > 1. increase lcore limit to 64 > 2. increase memory support to 1TB > 3. remove +crc from -march as that is default when setting armv8.2 >=20 > For more information about Graviton2 platform, refer to: > https://aws.amazon.com/ec2/graviton/ >=20 > Signed-off-by: Vimal Chungath > --- > config/arm/arm64_graviton2_linux_gcc | 17 +++++++++++++++++ > config/arm/meson.build | 12 +++++++++++- > 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 > config/arm/arm64_graviton2_linux_gcc >=20 > diff --git a/config/arm/arm64_graviton2_linux_gcc > b/config/arm/arm64_graviton2_linux_gcc > new file mode 100644 > index 000000000..022e06303 > --- /dev/null > +++ b/config/arm/arm64_graviton2_linux_gcc > @@ -0,0 +1,17 @@ > +[binaries] > +c =3D 'aarch64-linux-gnu-gcc' > +cpp =3D 'aarch64-linux-gnu-cpp' > +ar =3D 'aarch64-linux-gnu-gcc-ar' > +strip =3D 'aarch64-linux-gnu-strip' > +pkgconfig =3D 'aarch64-linux-gnu-pkg-config' > +pcap-config =3D '' > + > +[host_machine] > +system =3D 'linux' > +cpu_family =3D 'aarch64' > +cpu =3D 'armv8-a' > +endian =3D 'little' > + > +[properties] > +implementor_id =3D '0x41' > +implementor_pn =3D '0xd0c' > diff --git a/config/arm/meson.build b/config/arm/meson.build index > b49203fa8..0e7124843 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -86,6 +86,16 @@ flags_octeontx2_extra =3D [ > ['RTE_ARM_FEATURE_ATOMICS', true], > ['RTE_EAL_IGB_UIO', false], > ['RTE_USE_C11_MEM_MODEL', true]] > +flags_n1generic_extra =3D [ > + ['RTE_MACHINE', '"neoverse-n1"'], > + ['RTE_MAX_LCORE', 64], > + ['RTE_CACHE_LINE_SIZE', 64], > + ['RTE_ARM_FEATURE_ATOMICS', true], > + ['RTE_USE_C11_MEM_MODEL', true], > + ['RTE_MAX_MEM_MB', 1048576], > + ['RTE_MAX_NUMA_NODES', 1], > + ['RTE_EAL_NUMA_AWARE_HUGEPAGES', false], > + ['RTE_LIBRTE_VHOST_NUMA', false]] >=20 > machine_args_generic =3D [ > ['default', ['-march=3Darmv8-a+crc', '-moutline-atomics']], @@ -97,7 > +107,7 @@ machine_args_generic =3D [ > ['0xd09', ['-mcpu=3Dcortex-a73']], > ['0xd0a', ['-mcpu=3Dcortex-a75']], > ['0xd0b', ['-mcpu=3Dcortex-a76']], > - ['0xd0c', ['-march=3Darmv8.2-a+crc+crypto', '-mcpu=3Dneoverse-n1'], > flags_n1sdp_extra]] > + ['0xd0c', ['-march=3Darmv8.2-a+crypto', '-mcpu=3Dneoverse-n1'], > +flags_n1generic_extra]] After this change, 'flags_n1sdp_extra' will no longer be referenced. Then i= t can be removed. >=20 > machine_args_cavium =3D [ > ['default', ['-march=3Darmv8-a+crc+crypto','-mcpu=3Dthunderx']], > -- > 2.16.6