DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] config/arm: add Phytium TengYun S5000c
@ 2025-02-13  7:14 luzhipeng
  2025-02-13  7:14 ` luzhipeng
  0 siblings, 1 reply; 2+ messages in thread
From: luzhipeng @ 2025-02-13  7:14 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, luzhipeng

add support for Phytium tengyunS5000c

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

diff --git a/config/arm/arm64_fts5000c_linux_gcc b/config/arm/arm64_fts5000c_linux_gcc
new file mode 100644
index 0000000000..1f3b920b1a
--- /dev/null
+++ b/config/arm/arm64_fts5000c_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 = 'fts5000c'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 5302861e2c..086985d7b6 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -304,6 +304,13 @@ implementer_phytium = {
                 ['RTE_MAX_LCORE', 256],
                 ['RTE_MAX_NUMA_NODES', 32]
             ]
+        },
+        '0x862': {
+            'mcpu': 'mcpu_tys5000c',
+            'flags': [
+                ['RTE_MAX_LCORE', 256],
+                ['RTE_MAX_NUMA_NODES', 32]
+            ]
         }
     }
 }
@@ -614,6 +621,13 @@ soc_tys2500 = {
     'numa': true
 }
 
+soc_tys5000c = {
+    'description': 'Phytium TengYun S5000c',
+    'implementer': '0x70',
+    'part_number': '0x862',
+    'numa': true
+}
+
 soc_v2 = {
     'description': 'Arm Neoverse V2',
     'implementer': '0x41',
@@ -650,6 +664,10 @@ mcpu_defs = {
         'march': 'armv8-a',
         'march_extensions': ['crc']
     },
+    'mcpu_tys5000c': {
+        'march': 'armv8-a',
+        'march_extensions': ['crc']
+    },
     'mcpu_generic': {
         'march': 'armv8-a',
         'march_extensions': ['crc'],
@@ -694,6 +712,7 @@ thunderx2:       Marvell ThunderX2 T99
 thunderxt83:     Marvell ThunderX T83
 thunderxt88:     Marvell ThunderX T88
 tys2500:         Phytium TengYun S2500
+tys5000c:        Phytium TengYun S5000c
 v2:              Arm Neoverse V2
 End of SoCs list
 '''
@@ -733,6 +752,7 @@ socs = {
     'thunderxt83': soc_thunderxt83,
     'thunderxt88': soc_thunderxt88,
     'tys2500': soc_tys2500,
+    'tys5000c': soc_tys5000c,
     'v2': soc_v2,
 }
 
-- 
2.34.0.windows.1




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

* [PATCH] config/arm: add Phytium TengYun S5000c
  2025-02-13  7:14 [PATCH] config/arm: add Phytium TengYun S5000c luzhipeng
@ 2025-02-13  7:14 ` luzhipeng
  0 siblings, 0 replies; 2+ messages in thread
From: luzhipeng @ 2025-02-13  7:14 UTC (permalink / raw)
  To: dev; +Cc: Thomas Monjalon, luzhipeng

add support for Phytium tengyunS5000c

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

diff --git a/config/arm/arm64_fts5000c_linux_gcc b/config/arm/arm64_fts5000c_linux_gcc
new file mode 100644
index 0000000000..1f3b920b1a
--- /dev/null
+++ b/config/arm/arm64_fts5000c_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 = 'fts5000c'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 5302861e2c..086985d7b6 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -304,6 +304,13 @@ implementer_phytium = {
                 ['RTE_MAX_LCORE', 256],
                 ['RTE_MAX_NUMA_NODES', 32]
             ]
+        },
+        '0x862': {
+            'mcpu': 'mcpu_tys5000c',
+            'flags': [
+                ['RTE_MAX_LCORE', 256],
+                ['RTE_MAX_NUMA_NODES', 32]
+            ]
         }
     }
 }
@@ -614,6 +621,13 @@ soc_tys2500 = {
     'numa': true
 }
 
+soc_tys5000c = {
+    'description': 'Phytium TengYun S5000c',
+    'implementer': '0x70',
+    'part_number': '0x862',
+    'numa': true
+}
+
 soc_v2 = {
     'description': 'Arm Neoverse V2',
     'implementer': '0x41',
@@ -650,6 +664,10 @@ mcpu_defs = {
         'march': 'armv8-a',
         'march_extensions': ['crc']
     },
+    'mcpu_tys5000c': {
+        'march': 'armv8-a',
+        'march_extensions': ['crc']
+    },
     'mcpu_generic': {
         'march': 'armv8-a',
         'march_extensions': ['crc'],
@@ -694,6 +712,7 @@ thunderx2:       Marvell ThunderX2 T99
 thunderxt83:     Marvell ThunderX T83
 thunderxt88:     Marvell ThunderX T88
 tys2500:         Phytium TengYun S2500
+tys5000c:        Phytium TengYun S5000c
 v2:              Arm Neoverse V2
 End of SoCs list
 '''
@@ -733,6 +752,7 @@ socs = {
     'thunderxt83': soc_thunderxt83,
     'thunderxt88': soc_thunderxt88,
     'tys2500': soc_tys2500,
+    'tys5000c': soc_tys5000c,
     'v2': soc_v2,
 }
 
-- 
2.34.0.windows.1




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

end of thread, other threads:[~2025-02-13  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-13  7:14 [PATCH] config/arm: add Phytium TengYun S5000c luzhipeng
2025-02-13  7:14 ` 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).