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 512BBA0540; Fri, 9 Sep 2022 12:34:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8AA540A7E; Fri, 9 Sep 2022 12:34:22 +0200 (CEST) Received: from azure-sdnproxy.icoremail.net (azure-sdnproxy.icoremail.net [20.228.234.168]) by mails.dpdk.org (Postfix) with SMTP id 99B834003F for ; Fri, 9 Sep 2022 12:34:21 +0200 (CEST) Received: from prodtpl.icoremail.net (unknown [10.12.1.20]) by hzbj-icmmx-1 (Coremail) with SMTP id AQAAfwB3WgZPFhtjGnpFDA--.17434S2; Fri, 09 Sep 2022 18:32:47 +0800 (CST) Received: from XJHTHINKPAD (unknown [117.121.60.17]) by mail (Coremail) with SMTP id AQAAfwC3OoqoFhtjTUQAAA--.263S3; Fri, 09 Sep 2022 18:34:16 +0800 (CST) From: To: "'luzhipeng'" , Cc: "'Jan Viktorin'" , "'Ruifeng Wang'" , "'Bruce Richardson'" Subject: RE: [PATCH v3] config/arm: add PHYTIUM tys2500 Date: Fri, 9 Sep 2022 18:34:01 +0800 Message-ID: <000f01d8c437$aebc96f0$0c35c4d0$@phytium.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdjEN6HdnrUi0e81R3SUnkU3v1X0Uw== Content-Language: zh-cn X-CM-TRANSID: AQAAfwC3OoqoFhtjTUQAAA--.263S3 X-CM-SenderInfo: x0lhyx5dqk3to6sk53xlxphulrpou0/1tbiAQAMCmMaUDcGmAAAsH Authentication-Results: hzbj-icmmx-1; spf=neutral smtp.mail=xiejianhua @phytium.com.cn; X-Coremail-Antispam: 1Uk129KBjvJXoWxZr43Ary5KrW7uFWfuFW7Jwb_yoW5Cr45pw 45G3yYg3W8X3WfXFWfG34IgrWrJrWkKw4DG3y3Zr1Yy34qvryFvrnY9r15WF1DCr1jyr4k AF9aga4jg3yjv37anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj DUYxn0WfASr-VFAU7a7-sFnT9fnUUIcSsGvfJ3UbIYCTnIWIevJa73UjIFyTuYvj4RJUUU UUUUU 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 Very nice to me. Thank you very much! Thanks & Best Regards, Jianhua Xie -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: dev-bounces@dpdk.org = =B4=FA=B1=ED luzhipeng =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA9=D4=C29=C8=D5 16:43 =CA=D5=BC=FE=C8=CB: dev@dpdk.org =B3=AD=CB=CD: Jan Viktorin ; Ruifeng Wang ; Bruce Richardson ; luzhipeng =D6=F7=CC=E2: [PATCH v3] config/arm: add PHYTIUM tys2500 Here adds configs for PHYTIUM server. Signed-off-by: luzhipeng --- v3->v2: 1. fix typos v2->v1: 1. add ccache for cross build 2. 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 =3D ['ccache', 'aarch64-linux-gnu-gcc'] +cpp =3D ['ccache', 'aarch64-linux-gnu-g++'] +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] +platform =3D 'tys2500' diff --git a/config/arm/meson.build b/config/arm/meson.build index 9f1636e0d5..d917128481 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -203,13 +203,24 @@ implementer_phytium =3D { ['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=3Darmv8-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] + ] + } } } =20 @@ -328,6 +339,13 @@ soc_ft2000plus =3D { 'numa': true } =20 +soc_tys2500 =3D { + 'description': 'Phytium TengYun S2500', + 'implementer': '0x70', + 'part_number': '0x663', + 'numa': true +} + soc_graviton2 =3D { 'description': 'AWS Graviton2', 'implementer': '0x41', @@ -414,6 +432,7 @@ cn10k: Marvell OCTEON 10 dpaa: NXP DPAA emag: Ampere eMAG ft2000plus: Phytium FT-2000+ +tys2500: Phytium TengYun S2500 graviton2: AWS Graviton2 kunpeng920: HiSilicon Kunpeng 920 kunpeng930: HiSilicon Kunpeng 930 @@ -438,6 +457,7 @@ socs =3D { 'dpaa': soc_dpaa, 'emag': soc_emag, 'ft2000plus': soc_ft2000plus, + 'tys2500': soc_tys2500, 'graviton2': soc_graviton2, 'kunpeng920': soc_kunpeng920, 'kunpeng930': soc_kunpeng930, --=20 2.27.0