From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B10DA0545; Tue, 11 Oct 2022 13:14:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B5AD342D38; Tue, 11 Oct 2022 13:14:55 +0200 (CEST) Received: from smtp.cecloud.com (unknown [106.39.185.58]) by mails.dpdk.org (Postfix) with ESMTP id AC8BA42D0C for ; Tue, 11 Oct 2022 13:14:54 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by smtp.cecloud.com (Postfix) with ESMTP id 2847117E0207; Tue, 11 Oct 2022 19:14:52 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [110.185.170.176]) by smtp.cecloud.com (postfix) whith ESMTP id P2473742T281457559925104S1665486890906965_; Tue, 11 Oct 2022 19:14:52 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <361f51c5e90752f8d5f8becaf0d13acd> X-RL-SENDER: luzhipeng@cestc.cn X-SENDER: luzhipeng@cestc.cn X-LOGIN-NAME: luzhipeng@cestc.cn X-FST-TO: dev@dpdk.org X-RCPT-COUNT: 5 X-SENDER-IP: 110.185.170.176 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 From: luzhipeng To: dev@dpdk.org Cc: Jan Viktorin , Ruifeng Wang , Bruce Richardson , Zhipeng Lu Subject: [PATCH v3] config/arm: add PHYTIUM tys2500 Date: Tue, 11 Oct 2022 19:14:33 +0800 Message-Id: <20221011111433.690-1-luzhipeng@cestc.cn> X-Mailer: git-send-email 2.34.0.windows.1 In-Reply-To: <20220909084237.311-1-luzhipeng@cestc.cn> References: <20220909084237.311-1-luzhipeng@cestc.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Zhipeng Lu Here adds configs for PHYTIUM server. Signed-off-by: Zhipeng Lu --- v3: * fix typos * fix signed-off-by format v2: * add ccache for cross build * rename fts2500 to tys2500 and modify the corresponding code config/arm/arm64_tys2500_linux_gcc | 16 ++++++++++++++++ config/arm/meson.build | 26 +++++++++++++++++++++++--- 2 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 config/arm/arm64_tys2500_linux_gcc diff --git a/config/arm/arm64_tys2500_linux_gcc b/config/arm/arm64_tys2500_linux_gcc new file mode 100644 index 0000000000..fce85fb0d8 --- /dev/null +++ b/config/arm/arm64_tys2500_linux_gcc @@ -0,0 +1,16 @@ +[binaries] +c = ['ccache', 'aarch64-linux-gnu-gcc'] +cpp = ['ccache', 'aarch64-linux-gnu-g++'] +ar = 'aarch64-linux-gnu-gcc-ar' +strip = 'aarch64-linux-gnu-strip' +pkgconfig = 'aarch64-linux-gnu-pkg-config' +pcap-config = '' + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'armv8-a' +endian = 'little' + +[properties] +platform = 'tys2500' diff --git a/config/arm/meson.build b/config/arm/meson.build index b7162d516d..6442ec9596 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -213,13 +213,24 @@ implementer_phytium = { ['RTE_MACHINE', '"armv8a"'], ['RTE_USE_C11_MEM_MODEL', true], ['RTE_CACHE_LINE_SIZE', 64], - ['RTE_MAX_LCORE', 64], - ['RTE_MAX_NUMA_NODES', 8] ], 'part_number_config': { '0x662': { - 'machine_args': ['-march=armv8-a+crc'], + 'march': 'armv8-a', + 'march_features': ['crc'], + 'flags': [ + ['RTE_MAX_LCORE', 64], + ['RTE_MAX_NUMA_NODES', 8] + ] }, + '0x663': { + 'march': 'armv8-a', + 'march_features': ['crc'], + 'flags': [ + ['RTE_MAX_LCORE', 256], + ['RTE_MAX_NUMA_NODES', 32] + ] + } } } @@ -339,6 +350,13 @@ soc_ft2000plus = { 'numa': true } +soc_tys2500 = { + 'description': 'Phytium TengYun S2500', + 'implementer': '0x70', + 'part_number': '0x663', + 'numa': true +} + soc_graviton2 = { 'description': 'AWS Graviton2', 'implementer': '0x41', @@ -436,6 +454,7 @@ cn10k: Marvell OCTEON 10 dpaa: NXP DPAA emag: Ampere eMAG ft2000plus: Phytium FT-2000+ +tys2500: Phytium TengYun S2500 graviton2: AWS Graviton2 graviton3: AWS Graviton3 kunpeng920: HiSilicon Kunpeng 920 @@ -461,6 +480,7 @@ socs = { 'dpaa': soc_dpaa, 'emag': soc_emag, 'ft2000plus': soc_ft2000plus, + 'tys2500': soc_tys2500, 'graviton2': soc_graviton2, 'graviton3': soc_graviton3, 'kunpeng920': soc_kunpeng920, -- 2.33.0