From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6C0F71B4A1 for ; Sun, 6 Jan 2019 14:20:16 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x06DJd1t010897; Sun, 6 Jan 2019 05:20:13 -0800 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=C7GlwrpLx1OCW8NnWtV2Ui+vOmS4BspgnAhm40peabM=; b=xkOKuqiYbVj81ffWBwaKlk5rgk5ZdubIVhWkOVGQxlsr2YWpquoEtKWyBvNM+9MqLVQI sWIfdRWt6OOv6g2zmXDPGTwa8Mt7vE1BeTcLVW3053BEDt8I0Wwzq+laNNp0YxRsvdsx +XoEFhdCp4awk+bd8AQjyhI8uZNFsnuaEP7KOBp9p65bksdeyZhI0p3PdEBmW5OGSGAo eRUpmDDRbioQYzU9WczoES+QF4ht+RAZT+7G5tPSeg6M1wFRewZTlXZlHbB16Tu6UXiF f75UVFITMTOiAwZ4fZW0sadV09ccw3DAArOmZrNpCL7QL4EwN8pcvUgiYl427gD+I8cS hg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2ptvypb06v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 06 Jan 2019 05:20:12 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 6 Jan 2019 05:20:11 -0800 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.52) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 6 Jan 2019 05:20:10 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C7GlwrpLx1OCW8NnWtV2Ui+vOmS4BspgnAhm40peabM=; b=aIBbpVbll1ZLu0HPo5y3Yi+PISMP0gLihaAKQD1qi2Y0NhjOjdyh9hdyFkFbHg+RvNTiCZambiDb9y9ybiQ85Qa0PiGeY98EScfhYrDjKjB73eVNWVWAyMbm1w4/Ap7HLIp6pVTNSEBevfpjLHdo896XRmkg1KypUlA4kexoeXQ= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2406.namprd18.prod.outlook.com (20.179.91.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Sun, 6 Jan 2019 13:20:07 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d21:75dc:c1d9:65f1]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d21:75dc:c1d9:65f1%2]) with mapi id 15.20.1495.011; Sun, 6 Jan 2019 13:20:07 +0000 From: Jerin Jacob Kollanukkaran To: Thomas Monjalon CC: "dev@dpdk.org" , "gavin.hu@arm.com" , Jerin Jacob Kollanukkaran Thread-Topic: [dpdk-dev] [PATCH 2/3] config: add thunderx2 machine config Thread-Index: AQHUpcKKsTWeo5hC/kadL8X2Cvc6bw== Date: Sun, 6 Jan 2019 13:20:06 +0000 Message-ID: <20190106131933.7898-2-jerinj@marvell.com> References: <20190106131933.7898-1-jerinj@marvell.com> In-Reply-To: <20190106131933.7898-1-jerinj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BMXPR01CA0037.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::23) To BYAPR18MB2424.namprd18.prod.outlook.com (2603:10b6:a03:130::21) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [106.201.58.187] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BYAPR18MB2406; 20:RGbxiBCoB6Obxx+aHGwWfxIEyri1v/02uJ/musyeyeLcD55b1Bv4phz2E3Ec+R5Ch+4lp3KCjVzbS5/6P5/MC80t3oXJxiCGhDZIt5PEl88EEd/AA2woZAekj5eFglQiuvVZGDTGh4cWFNoyjsPcGHfJ5iElJ2fQaDMYWXOVAnY= x-ms-office365-filtering-correlation-id: 2242f45e-c363-46c4-0e01-08d673d9aceb x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR18MB2406; x-ms-traffictypediagnostic: BYAPR18MB2406: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231475)(944501520)(52105112)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:BYAPR18MB2406; BCL:0; PCL:0; RULEID:; SRVR:BYAPR18MB2406; x-forefront-prvs: 09090B6B69 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(396003)(136003)(39850400004)(199004)(189003)(7736002)(6436002)(107886003)(6486002)(305945005)(53936002)(6116002)(3846002)(5660300001)(68736007)(6916009)(6512007)(6306002)(386003)(6506007)(55236004)(99286004)(97736004)(102836004)(14454004)(966005)(76176011)(1076003)(106356001)(105586002)(478600001)(86362001)(186003)(8936002)(81166006)(81156014)(66066001)(8676002)(486006)(52116002)(11346002)(446003)(476003)(2616005)(26005)(316002)(256004)(54906003)(71200400001)(71190400001)(36756003)(2906002)(25786009)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2406; 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: 8Rf7RPlPbtL/keZI3A+t7stH76Kq9k7j+/gvtHQu4tQG5o5UytHxNeOqc4vWR5wf5bnRsnBGJlxzpwWTLh2fKu6Z3N1n6AdXzuNexsIc1zweMAi5FYleWGReqBjF0o3XBUj0mpEoqwqESBePMUmCXOnHDkahYcj/xKm9bmtEf2jA50pI3bkv7ogvAXxvRTfjNL+Ec0iK++CXQTc/aOZkWXT3HIE3cVJvm2GXcydE8FVmbHpvicFY33wlpVd+HqujB3E8fVa3ftR6yNQLL7zPbGMTMXlPbZFNKI1vY39yzlvkielccjYp99VRMCqYNajR spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 2242f45e-c363-46c4-0e01-08d673d9aceb X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jan 2019 13:20:07.3782 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2406 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-01-06_06:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=757 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901060121 Subject: [dpdk-dev] [PATCH 2/3] config: add thunderx2 machine config 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: , X-List-Received-Date: Sun, 06 Jan 2019 13:20:16 -0000 Optimized configuration for Marvell thunderx2 SoC. Product details are here: https://www.marvell.com/server-processors/thunderx2-arm-processors/ Signed-off-by: Jerin Jacob --- config/defconfig_arm64-thunderx2-linuxapp-gcc | 11 ++++++ mk/machine/thunderx2/rte.vars.mk | 34 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 config/defconfig_arm64-thunderx2-linuxapp-gcc create mode 100644 mk/machine/thunderx2/rte.vars.mk diff --git a/config/defconfig_arm64-thunderx2-linuxapp-gcc b/config/defconf= ig_arm64-thunderx2-linuxapp-gcc new file mode 100644 index 000000000..27db58e50 --- /dev/null +++ b/config/defconfig_arm64-thunderx2-linuxapp-gcc @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Marvell International Ltd +# + +#include "defconfig_arm64-armv8a-linuxapp-gcc" + +CONFIG_RTE_MACHINE=3D"thunderx2" + +CONFIG_RTE_CACHE_LINE_SIZE=3D64 +CONFIG_RTE_MAX_NUMA_NODES=3D2 +CONFIG_RTE_MAX_LCORE=3D256 diff --git a/mk/machine/thunderx2/rte.vars.mk b/mk/machine/thunderx2/rte.va= rs.mk new file mode 100644 index 000000000..b80dc8680 --- /dev/null +++ b/mk/machine/thunderx2/rte.vars.mk @@ -0,0 +1,34 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Marvell International Ltd +# + +# +# machine: +# +# - can define ARCH variable (overridden by cmdline value) +# - can define CROSS variable (overridden by cmdline value) +# - define MACHINE_CFLAGS variable (overridden by cmdline value) +# - define MACHINE_LDFLAGS variable (overridden by cmdline value) +# - define MACHINE_ASFLAGS variable (overridden by cmdline value) +# - can define CPU_CFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_LDFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - can define CPU_ASFLAGS variable (overridden by cmdline value) that +# overrides the one defined in arch. +# - may override any previously defined variable +# + +# ARCH =3D +# CROSS =3D +# MACHINE_CFLAGS =3D +# MACHINE_LDFLAGS =3D +# MACHINE_ASFLAGS =3D +# CPU_CFLAGS =3D +# CPU_LDFLAGS =3D +# CPU_ASFLAGS =3D + +include $(RTE_SDK)/mk/rte.helper.mk + +MACHINE_CFLAGS +=3D $(call rte_cc_has_argument, -march=3Darmv8.1-a+crc+cry= pto) +MACHINE_CFLAGS +=3D $(call rte_cc_has_argument, -mcpu=3Dthunderx2t99) --=20 2.20.1