config: added support for NVIDIA ARM implementer ID
PATCH 1/1 config: added support for NVIDIA ARM implementer ID
From: Cliff Burdick <[email protected]>
NVIDIA's Jetson Xavier is an ARM chip with NVIDIA as the implementer ID and a new part number. This patch adds support for this implementer ID and the part number.
--- .mailmap | 1 + config/arm/meson.build | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+)
.mailmap +1 -0
@@ -230,6 +230,7 @@ Cian Ferriter <[email protected]> Ciara Loftus <[email protected]> Ciara Power <[email protected]> Claire Murphy <[email protected]> +Cliff Burdick <[email protected]> Cody Doucette <[email protected]> Congwen Zhang <[email protected]> Conor Fogarty <[email protected]>
config/arm/meson.build +21 -0
@@ -159,6 +159,26 @@ implementer_cavium = { } } +implementer_nvidia = { + 'description': 'NVIDIA', + 'flags': [ + ['RTE_CACHE_LINE_SIZE', 64] + ], + 'part_number_config': { + '0x4': { + 'march': 'armv8-a', + 'march_features': ['crc', 'crypto', 'lse'], + 'compiler_options': ['-march=armv8-a+crc+lse+simd'], + 'flags': [ + ['RTE_USE_C11_MEM_MODEL', true], + ['RTE_MAX_LCORE', 8], + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MACHINE', '"armv8a"'] + ] + } + } +} + implementer_ampere = { 'description': 'Ampere Computing', 'flags': [
@@ -261,6 +281,7 @@ implementers = { '0x41': implementer_arm, '0x43': implementer_cavium, '0x48': implementer_hisilicon, + '0x4e': implementer_nvidia, '0x50': implementer_ampere, '0x51': implementer_qualcomm, '0x70': implementer_phytium,
Signature · 1 line
2.17.1
Quoted 67 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Wednesday, February 22, 2023 1:34 AM
To: Ruifeng Wang <[email protected]>
Cc: [email protected]; Cliff Burdick <[email protected]>
Subject: [PATCH] config: added support for NVIDIA ARM implementer IDFrom: Cliff Burdick <[email protected]>
NVIDIA's Jetson Xavier is an ARM chip with NVIDIA as the implementer ID and a new part number. This patch adds support for this implementer ID and the part number.
Signed-off-by Cliff Burdick <[email protected]>--- .mailmap | 1 + config/arm/meson.build | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+).mailmap +0
-0@@ -230,6 +230,7 @@ Cian Ferriter <[email protected]> Ciara Loftus<[email protected]> Ciara Power <[email protected]> Claire Murphy <[email protected]>
+Cliff Burdick <[email protected]>
Cody Doucette <[email protected]>
Congwen Zhang <[email protected]> Conor Fogarty <[email protected]> diff --
git a/config/arm/meson.build b/config/arm/meson.build index6442ec9596..6c3de22f16100644config/arm/meson.build +21
-1@@ -159,6 +159,26 @@ implementer_cavium = { } } +implementer_nvidia = { + 'description': 'NVIDIA', + 'flags': [ + ['RTE_CACHE_LINE_SIZE', 64] + ], + 'part_number_config': { + '0x4': { + 'march': 'armv8-a', + 'march_features': ['crc', 'crypto', 'lse'], + 'compiler_options': ['-march=armv8-a+crc+lse+simd'], + 'flags': [ + ['RTE_USE_C11_MEM_MODEL', true], + ['RTE_MAX_LCORE', 8], + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MACHINE', '"armv8a"'] + ] + } + } +} + implementer_ampere = { 'description': 'Ampere Computing', 'flags': [@@ -261,6 +281,7 @@ implementers = { '0x41': implementer_arm, '0x43': implementer_cavium, '0x48': implementer_hisilicon, + '0x4e': implementer_nvidia, '0x50': implementer_ampere, '0x51': implementer_qualcomm, '0x70': implementer_phytium, --
Quoted 1 line
2.17.1
Only native build is supported with this change. To support cross build, soc section needs to be updated. The below patch can be referenced:
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
Quoted 63 lines · On Wed, 22 Feb 2023 09:59:11 +0000 Ruifeng Wang <[email protected]> wrote:
Quoted 63 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Wednesday, February 22, 2023 1:34 AM
To: Ruifeng Wang <[email protected]>
Cc: [email protected]; Cliff Burdick <[email protected]>
Subject: [PATCH] config: added support for NVIDIA ARM implementer IDFrom: Cliff Burdick <[email protected]>
NVIDIA's Jetson Xavier is an ARM chip with NVIDIA as the implementer ID and a new part number. This patch adds support for this implementer ID and the part number.
Signed-off-by Cliff Burdick <[email protected]>--- .mailmap | 1 + config/arm/meson.build | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+).mailmap +0
-0@@ -230,6 +230,7 @@ Cian Ferriter <[email protected]> Ciara Loftus<[email protected]> Ciara Power <[email protected]> Claire Murphy <[email protected]>
+Cliff Burdick <[email protected]>
Cody Doucette <[email protected]>
Congwen Zhang <[email protected]> Conor Fogarty <[email protected]> diff --
git a/config/arm/meson.build b/config/arm/meson.build index6442ec9596..6c3de22f16100644config/arm/meson.build +21
-0@@ -159,6 +159,26 @@ implementer_cavium = { } } +implementer_nvidia = { + 'description': 'NVIDIA', + 'flags': [ + ['RTE_CACHE_LINE_SIZE', 64] + ], + 'part_number_config': { + '0x4': { + 'march': 'armv8-a', + 'march_features': ['crc', 'crypto', 'lse'], + 'compiler_options': ['-march=armv8-a+crc+lse+simd'], + 'flags': [ + ['RTE_USE_C11_MEM_MODEL', true], + ['RTE_MAX_LCORE', 8], + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MACHINE', '"armv8a"'] + ] + } + } +} + implementer_ampere = { 'description': 'Ampere Computing', 'flags': [@@ -261,6 +281,7 @@ implementers = { '0x41': implementer_arm, '0x43': implementer_cavium, '0x48': implementer_hisilicon, + '0x4e': implementer_nvidia,
Quoted 9 lines
Quoted 5 lines
config/arm/meson.build +0
-1'0x50': implementer_ampere, '0x51': implementer_qualcomm, '0x70': implementer_phytium, --2.17.1
Only native build is supported with this change. To support cross build, soc section needs to be updated. The below patch can be referenced:
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
Please resend with suggested change to handle cross build And use the DPDK convention of reply-to and patch version number.