[PATCH] Add support for NVIDIA ARM implementer ID

Cliff Burdick cburdick at nvidia.com
Mon May 9 20:15:55 CEST 2022


build: added NVIDIA ARM implementer ID

NVIDIA ARM CPUs (Xavier, Grace) use implementer ID 0x4e.
This patch adds initial support for the Xavier chip rather than
compiling using the generic platform.

Signed-off-by: Cliff Burdick cburdick at nvidia.com<mailto:cburdick at nvidia.com>
---
config/arm/meson.build | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

diff --git a/config/arm/meson.build b/config/arm/meson.build
index 8aead74086..91ccbfce2c 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -197,6 +197,23 @@ implementer_hisilicon = {
     }
}

+implementer_nvidia = {
+    'description': 'NVIDIA',
+    'flags': [
+        ['RTE_MACHINE', '"armv8a"'],
+        ['RTE_USE_C11_MEM_MODEL', true],
+        ['RTE_MAX_LCORE', 256],
+        ['RTE_MAX_NUMA_NODES', 4]
+    ],
+    'part_number_config': {
+        '0x4': {
+            'march': 'armv8-a',
+            'march_features': ['crc'],
+            'compiler_options': ['-moutline-atomics']
+        }
+    }
+}
+
implementer_qualcomm = {
     'description': 'Qualcomm',
     'flags': [
@@ -224,6 +241,7 @@ implementers = {
     '0x41': implementer_arm,
     '0x43': implementer_cavium,
     '0x48': implementer_hisilicon,
+    '0x4e': implementer_nvidia,
     '0x50': implementer_ampere,
     '0x51': implementer_qualcomm
}
--
2.17.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20220509/8a6731b1/attachment.htm>


More information about the dev mailing list