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 97C05A00E6 for ; Fri, 17 May 2019 21:23:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4C0BE5F2C; Fri, 17 May 2019 21:23:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 5690A5F20 for ; Fri, 17 May 2019 21:23:44 +0200 (CEST) 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 x4HJDGb8010459; Fri, 17 May 2019 12:23:43 -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=66VeBL9RYLSZxy604t7x2Bnn7POR80wmOoJ1xJAp7kU=; b=D33O7OYYfH09uYAVxPoqIxrc9D7vJEeBotr9jI9lhJsBKm5t4CvvhiIWA+e0qYDLZZay YFrPAKYvzNivUVJAUpSc6xKfjCfItLRHINAornWYACdSksRif4OhnOtDJseOn74YAG4p CvojO4TubYs20EP63Sr0hh/Nf16HsErHoNoH9vxAHRiZ0XZGsDSRzGMttpJVAarIQaf5 CtYCftfGeJzQDx7YUx7L1mZKdQlk85hcCTSCfo/cQUmEKLxD0z30vSRlyZacJCvfhV85 VaGX3Zo9FfJbON44StInrAjy1Qt74QNYGH2cNoztGM2v49Vv1vHagIS3PB8+8foR/Nk8 6Q== Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2shv92hvrv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 17 May 2019 12:23:43 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Fri, 17 May 2019 12:23:41 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Fri, 17 May 2019 12:23:41 -0700 Received: from pt-lxl0023.marvell.com (pt-lxl0023.marvell.com [10.5.213.12]) by maili.marvell.com (Postfix) with ESMTP id E67813F703F; Fri, 17 May 2019 12:23:40 -0700 (PDT) From: To: CC: , Liron Himi Date: Sat, 18 May 2019 00:34:27 +0300 Message-ID: <1558128867-15941-3-git-send-email-lironh@marvell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1558128867-15941-1-git-send-email-lironh@marvell.com> References: <1558128867-15941-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-17_11:, , signatures=0 Subject: [dpdk-dev] [PATCH 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 Kollanukkaran 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