DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/arm: add PHYTIUM fts2500 Here adds configs for PHYTIUM server.
@ 2022-09-06 14:39 luzhipeng
  0 siblings, 0 replies; 2+ messages in thread
From: luzhipeng @ 2022-09-06 14:39 UTC (permalink / raw)
  To: dev; +Cc: Jan Viktorin, Ruifeng Wang, Bruce Richardson, root, luzhipeng

From: root <root@localhost.localdomain>

Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
---
 dpdk/config/arm/arm64_fts2500_linux_gcc | 16 ++++++++++++++++
 dpdk/config/arm/meson.build             | 22 ++++++++++++++++++++--
 2 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 dpdk/config/arm/arm64_fts2500_linux_gcc

diff --git a/dpdk/config/arm/arm64_fts2500_linux_gcc b/dpdk/config/arm/arm64_fts2500_linux_gcc
new file mode 100644
index 000000000..d43c7aad3
--- /dev/null
+++ b/dpdk/config/arm/arm64_fts2500_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = '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 = 'fts2500'
diff --git a/dpdk/config/arm/meson.build b/dpdk/config/arm/meson.build
index c32f02bc2..93c7f4695 100644
--- a/dpdk/config/arm/meson.build
+++ b/dpdk/config/arm/meson.build
@@ -224,12 +224,21 @@ 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'],
+            'flags': [
+                ['RTE_MAX_LCORE', 64],
+                ['RTE_MAX_NUMA_NODES', 8]
+             ],
+        },
+       '0x663': {
+            'machine_args': ['-march=armv8-a+crc'],
+            'flags': [
+                ['RTE_MAX_LCORE', 128],
+                ['RTE_MAX_NUMA_NODES', 16]
+            ],
         },
     }
 }
@@ -395,6 +404,13 @@ soc_ft2000plus = {
     'numa': true
 }
 
+soc_fts2500 = {
+    'description': 'Phytium FT-S2500',
+    'implementer': '0x70',
+    'part_number': '0x663',
+    'numa': true
+}
+
 '''
 Start of SoCs list
 generic:         Generic un-optimized build for armv8 aarch64 execution mode.
@@ -407,6 +423,7 @@ cn10k:           Marvell OCTEON 10
 dpaa:            NXP DPAA
 emag:            Ampere eMAG
 ft2000plus:      Phytium FT-2000+
+fts2500:         Phytium FT-S2500
 graviton2:       AWS Graviton2
 kunpeng920:      HiSilicon Kunpeng 920
 kunpeng930:      HiSilicon Kunpeng 930
@@ -438,6 +455,7 @@ socs = {
     'thunderx2': soc_thunderx2,
     'thunderxt88': soc_thunderxt88,
     'ft2000plus': soc_ft2000plus,
+    'fts2500': soc_fts2500,
 }
 
 dpdk_conf.set('RTE_ARCH_ARM', 1)
-- 
2.27.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] config/arm: add PHYTIUM fts2500 Here adds configs for PHYTIUM server.
@ 2022-09-07  1:51 luzhipeng
  0 siblings, 0 replies; 2+ messages in thread
From: luzhipeng @ 2022-09-07  1:51 UTC (permalink / raw)
  To: dev; +Cc: Jan Viktorin, Ruifeng Wang, Bruce Richardson, root, luzhipeng

From: root <root@localhost.localdomain>

Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
---
 dpdk/config/arm/arm64_fts2500_linux_gcc | 16 ++++++++++++++++
 dpdk/config/arm/meson.build             | 22 ++++++++++++++++++++--
 2 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 dpdk/config/arm/arm64_fts2500_linux_gcc

diff --git a/dpdk/config/arm/arm64_fts2500_linux_gcc b/dpdk/config/arm/arm64_fts2500_linux_gcc
new file mode 100644
index 000000000..d43c7aad3
--- /dev/null
+++ b/dpdk/config/arm/arm64_fts2500_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = '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 = 'fts2500'
diff --git a/dpdk/config/arm/meson.build b/dpdk/config/arm/meson.build
index c32f02bc2..93c7f4695 100644
--- a/dpdk/config/arm/meson.build
+++ b/dpdk/config/arm/meson.build
@@ -224,12 +224,21 @@ 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'],
+            'flags': [
+                ['RTE_MAX_LCORE', 64],
+                ['RTE_MAX_NUMA_NODES', 8]
+             ],
+        },
+       '0x663': {
+            'machine_args': ['-march=armv8-a+crc'],
+            'flags': [
+                ['RTE_MAX_LCORE', 128],
+                ['RTE_MAX_NUMA_NODES', 16]
+            ],
         },
     }
 }
@@ -395,6 +404,13 @@ soc_ft2000plus = {
     'numa': true
 }
 
+soc_fts2500 = {
+    'description': 'Phytium FT-S2500',
+    'implementer': '0x70',
+    'part_number': '0x663',
+    'numa': true
+}
+
 '''
 Start of SoCs list
 generic:         Generic un-optimized build for armv8 aarch64 execution mode.
@@ -407,6 +423,7 @@ cn10k:           Marvell OCTEON 10
 dpaa:            NXP DPAA
 emag:            Ampere eMAG
 ft2000plus:      Phytium FT-2000+
+fts2500:         Phytium FT-S2500
 graviton2:       AWS Graviton2
 kunpeng920:      HiSilicon Kunpeng 920
 kunpeng930:      HiSilicon Kunpeng 930
@@ -438,6 +455,7 @@ socs = {
     'thunderx2': soc_thunderx2,
     'thunderxt88': soc_thunderxt88,
     'ft2000plus': soc_ft2000plus,
+    'fts2500': soc_fts2500,
 }
 
 dpdk_conf.set('RTE_ARCH_ARM', 1)
-- 
2.27.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-07 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-06 14:39 [PATCH] config/arm: add PHYTIUM fts2500 Here adds configs for PHYTIUM server luzhipeng
2022-09-07  1:51 luzhipeng

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).