config/arm: add PHYTIUM tys2500
PATCH v3 1/1 config/arm: add PHYTIUM tys2500
Here adds configs for PHYTIUM server.
---
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
config/arm/arm64_tys2500_linux_gcc new file +16 -0
@@ -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'
config/arm/meson.build +23 -3
@@ -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,
Signature · 1 line
2.27.0
Quoted 11 lines
-----Original Message-----
From: luzhipeng <[email protected]>
Sent: Friday, September 9, 2022 4:43 PM
To: [email protected]
Cc: Jan Viktorin <[email protected]>; Ruifeng Wang <[email protected]>; Bruce Richardson <[email protected]>; luzhipeng <[email protected]>
Subject: [PATCH v3] config/arm: add PHYTIUM tys2500Here adds configs for PHYTIUM server.
Signed-off-by luzhipeng <[email protected]>
Please note Ferruh's comments on v2.
With the suggested change,
PATCH v3 1/1 config/arm: add PHYTIUM tys2500
In reply to luzhipengHere adds configs for PHYTIUM server.
---
v3:
1. fix typos
2. fix signed-off-by format
v2:
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
config/arm/arm64_tys2500_linux_gcc new file +16 -0
@@ -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'
config/arm/meson.build +23 -3
@@ -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,
Signature · 1 line
2.27.0
17/09/2022 04:17, luzhipeng:
Quoted 8 lines
Here adds configs for PHYTIUM server.
Signed-off-by luzhipeng <[email protected]>---
v3:
1. fix typos
2. fix signed-off-by format
The format is not correct.
Please follow what Ferruh said on v2.
Thanks,i have modified and submitted
Quoted 17 lines · Thomas Monjalon
17/09/2022 04:17, luzhipeng:
Quoted 8 lines
Here adds configs for PHYTIUM server.
Signed-off-by luzhipeng <[email protected]>---
v3:
1. fix typos
2. fix signed-off-by formatThe format is not correct.
Please follow what Ferruh said on v2.
PATCH v3 1/1 config/arm: add PHYTIUM tys2500
In reply to luzhipengHere adds configs for PHYTIUM server.
---
v3:
* fix typos
* fix signed-off-by format
v2:
* add ccache for cross build
* 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
config/arm/arm64_tys2500_linux_gcc new file +16 -0
@@ -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'
config/arm/meson.build +23 -3
@@ -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,
Signature · 1 line
2.27.0
PATCH v3 1/1 config/arm: add PHYTIUM tys2500
In reply to luzhipengFrom: Zhipeng Lu <[email protected]>
Here adds configs for PHYTIUM server.
---
v3:
* fix typos
* fix signed-off-by format
v2:
* add ccache for cross build
* 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
config/arm/arm64_tys2500_linux_gcc new file +16 -0
@@ -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'
config/arm/meson.build +23 -3
@@ -213,13 +213,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] + ] + } } }
@@ -339,6 +350,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',
@@ -436,6 +454,7 @@ cn10k: Marvell OCTEON 10 dpaa: NXP DPAA emag: Ampere eMAG ft2000plus: Phytium FT-2000+ +tys2500: Phytium TengYun S2500 graviton2: AWS Graviton2 graviton3: AWS Graviton3 kunpeng920: HiSilicon Kunpeng 920
@@ -461,6 +480,7 @@ socs = { 'dpaa': soc_dpaa, 'emag': soc_emag, 'ft2000plus': soc_ft2000plus, + 'tys2500': soc_tys2500, 'graviton2': soc_graviton2, 'graviton3': soc_graviton3, 'kunpeng920': soc_kunpeng920,
Signature · 1 line
2.33.0
Thomas Monjalon
Applied11/10/2022 13:14, luzhipeng:
Quoted 5 lines
From: Zhipeng Lu <[email protected]>
Here adds configs for PHYTIUM server.
Signed-off-by Zhipeng Lu <[email protected]>
Applied, thanks.