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 2CDE4A0A0F; Fri, 16 Apr 2021 11:57:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8E5E0141CA7; Fri, 16 Apr 2021 11:57:00 +0200 (CEST) Received: from szxga04-in.huawei.com (szxga04-in.huawei.com [45.249.212.190]) by mails.dpdk.org (Postfix) with ESMTP id 63D3D141C89 for ; Fri, 16 Apr 2021 11:56:55 +0200 (CEST) Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FMBQ34RStz19MW0; Fri, 16 Apr 2021 17:54:35 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Fri, 16 Apr 2021 17:56:49 +0800 From: Lijun Ou To: , CC: , Date: Fri, 16 Apr 2021 17:57:03 +0800 Message-ID: <1618567025-25982-2-git-send-email-oulijun@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1618567025-25982-1-git-send-email-oulijun@huawei.com> References: <1616808435-25166-1-git-send-email-oulijun@huawei.com> <1618567025-25982-1-git-send-email-oulijun@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Subject: [dpdk-dev] [PATCH V4 1/3] config/arm: add Hisilicon kunpeng implementer 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 Sender: "dev" From: Chengchang Tang Here adds configs for Kunpeng server. Fixes: 91c730fd4e09 ("config/arm: remove unused or superfluous variables") Signed-off-by: Chengchang Tang Signed-off-by: Lijun Ou Acked-by: Jerin Jacob Reviewed-by: Ruifeng Wang --- config/arm/meson.build | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 1b7c4c1..7cc4eb1 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -146,6 +146,35 @@ implementer_ampere = { } } +implementer_hisilicon = { + 'description': 'HiSilicon', + 'flags': [ + ['RTE_USE_C11_MEM_MODEL', true], + ['RTE_CACHE_LINE_SIZE', 128] + ], + 'part_number_config': { + '0xd01': { + 'machine_args': ['-march=armv8.2-a+crypto', + '-mtune=tsv110'], + 'flags': [ + ['RTE_MACHINE', '"Kunpeng 920"'], + ['RTE_ARM_FEATURE_ATOMICS', true], + ['RTE_MAX_LCORE', 256], + ['RTE_MAX_NUMA_NODES', 8] + ] + }, + '0xd02': { + 'machine_args': ['-march=armv8.2-a+crypto+sve'], + 'flags': [ + ['RTE_MACHINE', '"Kunpeng 930"'], + ['RTE_ARM_FEATURE_ATOMICS', true], + ['RTE_MAX_LCORE', 1280], + ['RTE_MAX_NUMA_NODES', 16] + ] + } + } +} + implementer_qualcomm = { 'description': 'Qualcomm', 'flags': [ @@ -165,6 +194,7 @@ implementers = { 'generic': implementer_generic, '0x41': implementer_arm, '0x43': implementer_cavium, + '0x48': implementer_hisilicon, '0x50': implementer_ampere, '0x51': implementer_qualcomm } @@ -249,6 +279,20 @@ soc_octeontx2 = { 'numa': false } +soc_kunpeng920 = { + 'description': 'HiSilicon Kunpeng 920', + 'implementer': '0x48', + 'part_number': '0xd01', + 'numa': true +} + +soc_kunpeng930 = { + 'description': 'HiSilicon Kunpeng 930', + 'implementer': '0x48', + 'part_number': '0xd02', + 'numa': true +} + soc_stingray = { 'description': 'Broadcom Stingray', 'implementer': '0x41', @@ -284,7 +328,9 @@ socs = { 'octeontx2': soc_octeontx2, 'stingray': soc_stingray, 'thunderx2': soc_thunderx2, - 'thunderxt88': soc_thunderxt88 + 'thunderxt88': soc_thunderxt88, + 'kunpeng920': soc_kunpeng920, + 'kunpeng930': soc_kunpeng930 } dpdk_conf.set('RTE_ARCH_ARM', 1) -- 2.7.4