DPDK patches and discussions
 help / color / mirror / Atom feed
From: <xiejianhua@phytium.com.cn>
To: "'luzhipeng'" <luzhipeng@cestc.cn>, <dev@dpdk.org>
Cc: "'Jan Viktorin'" <viktorin@rehivetech.com>,
	"'Ruifeng Wang'" <ruifeng.wang@arm.com>,
	"'Bruce Richardson'" <bruce.richardson@intel.com>
Subject: RE: [PATCH v3] config/arm: add PHYTIUM tys2500
Date: Fri, 9 Sep 2022 18:34:01 +0800	[thread overview]
Message-ID: <000f01d8c437$aebc96f0$0c35c4d0$@phytium.com.cn> (raw)

Very nice to me.  Thank you very much!

Thanks & Best Regards,
Jianhua Xie

-----邮件原件-----
发件人: dev-bounces@dpdk.org <dev-bounces@dpdk.org> 代表 luzhipeng
发送时间: 2022年9月9日 16:43
收件人: dev@dpdk.org
抄送: Jan Viktorin <viktorin@rehivetech.com>; Ruifeng Wang
<ruifeng.wang@arm.com>; Bruce Richardson <bruce.richardson@intel.com>;
luzhipeng <luzhipeng@cestc.cn>
主题: [PATCH v3] config/arm: add PHYTIUM tys2500

Here adds configs for PHYTIUM server.

Signed-off-by: luzhipeng <luzhipeng@cestc.cn>

---
 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 = ['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 9f1636e0d5..d917128481 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -203,13 +203,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]
+            ]
+        }
     }
 }
 
@@ -328,6 +339,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',
@@ -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 = {
     'dpaa': soc_dpaa,
     'emag': soc_emag,
     'ft2000plus': soc_ft2000plus,
+    'tys2500': soc_tys2500,
     'graviton2': soc_graviton2,
     'kunpeng920': soc_kunpeng920,
     'kunpeng930': soc_kunpeng930,
-- 
2.27.0




             reply	other threads:[~2022-09-09 10:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09 10:34 xiejianhua [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-09  8:42 luzhipeng
2022-09-14  9:40 ` Ruifeng Wang
2022-09-17  2:17 ` luzhipeng
2022-10-10 19:58   ` Thomas Monjalon
2022-10-11  1:42     ` luzhipeng
2022-10-11  1:40 ` luzhipeng
2022-10-11 11:14 ` luzhipeng
2022-10-26 15:40   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000f01d8c437$aebc96f0$0c35c4d0$@phytium.com.cn' \
    --to=xiejianhua@phytium.com.cn \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=luzhipeng@cestc.cn \
    --cc=ruifeng.wang@arm.com \
    --cc=viktorin@rehivetech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).