From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3089BA00E6 for ; Sat, 18 May 2019 21:00:39 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D773C58EC; Sat, 18 May 2019 21:00:27 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 1CE462C30 for ; Sat, 18 May 2019 21:00:23 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4IJ0N4O030442; Sat, 18 May 2019 12:00:23 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=pfpt0818; bh=+SG7DRXMwB498JK9WqMcwa2vXsJquatpIikC2renboI=; b=IeaY/PxsYh8gIYr7JBbfDipOiRDGrkuz3t6RF12ZpT0ZBVmXjhqgV7CCpfjDBNponART WBmhR1c6O0nRlWyamp2Jy16RyFWICR1XHQ+iL53TRgcyHya/e8LY3vF4qnTApb7V5rzi 8uYkpV3VOhoR8NFOd1qpCOHAcOYNhp1U9UK+wMBC1LF7vmXCDhsbiS8+YKofivXlY5Tn uryWPbmhCjp9q8JYBaal30raMHmIdSHAiupqT7Ft9HpsKdIDVizUUWvuL5ljEs0zlyx9 BrcVWEAZON89WroPY26PGaky2sXUB2RpOIrnjkfVjZKv1C6bd8OED9K7T9OkRQYW/5Ou 8Q== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0a-0016f401.pphosted.com with ESMTP id 2sjfdn9hfa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 18 May 2019 12:00:23 -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; Sat, 18 May 2019 12:00:19 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Sat, 18 May 2019 12:00:19 -0700 Received: from pt-lxl0023.marvell.com (pt-lxl0023.marvell.com [10.5.213.12]) by maili.marvell.com (Postfix) with ESMTP id AA3973F7040; Sat, 18 May 2019 12:00:18 -0700 (PDT) From: To: CC: , Liron Himi Date: Sun, 19 May 2019 00:10:55 +0300 Message-ID: <1558213855-21841-3-git-send-email-lironh@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1558213855-21841-1-git-send-email-lironh@marvell.com> References: <1558213855-21841-1-git-send-email-lironh@marvell.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-18_16:, , signatures=0 Subject: [dpdk-dev] [PATCH v2 2/2] meson: add Marvell ARMADA architecture based on armv8-a 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" From: Liron Himi Signed-off-by: Liron Himi Reviewed-by: Jerin Jacob Tested-by: Liron Himi --- config/arm/arm64_armada_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 8 +++++++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 config/arm/arm64_armada_linux_gcc diff --git a/config/arm/arm64_armada_linux_gcc b/config/arm/arm64_armada_linux_gcc new file mode 100644 index 0000000..6e6d56f --- /dev/null +++ b/config/arm/arm64_armada_linux_gcc @@ -0,0 +1,16 @@ +[binaries] +c = 'aarch64-linux-gnu-gcc' +cpp = 'aarch64-linux-gnu-cpp' +ar = 'aarch64-linux-gnu-ar' +as = 'aarch64-linux-gnu-as' +strip = 'aarch64-linux-gnu-strip' +pcap-config = '' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8-a' +endian = 'little' + +[properties] +implementor_id = '0x56' diff --git a/config/arm/meson.build b/config/arm/meson.build index 7fa6ed3..32decba 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -56,6 +56,12 @@ flags_dpaa2 = [ ['RTE_MAX_NUMA_NODES', 1], ['RTE_MAX_LCORE', 16], ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false]] +flags_armada = [ + ['RTE_MACHINE', '"armv8a"'], + ['RTE_CACHE_LINE_SIZE', 64], + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MAX_LCORE', 16]] + flags_default_extra = [] flags_thunderx_extra = [ ['RTE_MACHINE', '"thunderx"'], @@ -104,7 +110,7 @@ impl_0x4e = ['NVIDIA', flags_generic, machine_args_generic] impl_0x50 = ['AppliedMicro', flags_generic, machine_args_generic] impl_0x51 = ['Qualcomm', flags_generic, machine_args_generic] impl_0x53 = ['Samsung', flags_generic, machine_args_generic] -impl_0x56 = ['Marvell', flags_generic, machine_args_generic] +impl_0x56 = ['Marvell ARMADA', flags_armada, machine_args_generic] impl_0x69 = ['Intel', flags_generic, machine_args_generic] impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic] impl_dpaa2 = ['NXP DPAA2', flags_dpaa2, machine_args_generic] -- 2.7.4