From: Pavan Nikhilesh Date: Mon, 19 Apr 2021 20:39:47 +0000 (+0530) Subject: config/arm: add Marvell CN10K X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1b4c86a721c9;p=dpdk.git config/arm: add Marvell CN10K Add config support to cross compile for Marvell CN10K SoC. Marvell CN10K SoC is based on ARM Neoverse N2 cores. Signed-off-by: Nithin Dabilpuram Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- diff --git a/config/arm/arm64_cn10k_linux_gcc b/config/arm/arm64_cn10k_linux_gcc new file mode 100644 index 0000000000..a3578c03a1 --- /dev/null +++ b/config/arm/arm64_cn10k_linux_gcc @@ -0,0 +1,16 @@ +[binaries] +c = 'aarch64-linux-gnu-gcc' +cpp = 'aarch64-linux-gnu-cpp' +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.6-a' +endian = 'little' + +[properties] +platform = 'cn10k' diff --git a/config/arm/meson.build b/config/arm/meson.build index 86cdb9b53b..18b820d53e 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -229,6 +229,17 @@ soc_bluefield = { 'numa': false } +soc_cn10k = { + 'description' : 'Marvell OCTEON 10', + 'implementer' : '0x41', + 'flags': [ + ['RTE_MAX_LCORE', 24], + ['RTE_MAX_NUMA_NODES', 1] + ], + 'part_number': '0xd49', + 'numa': false +} + soc_dpaa = { 'description': 'NXP DPAA', 'implementer': '0x41', @@ -320,6 +331,7 @@ socs = { 'generic': soc_generic, 'armada': soc_armada, 'bluefield': soc_bluefield, + 'cn10k' : soc_cn10k, 'dpaa': soc_dpaa, 'emag': soc_emag, 'graviton2': soc_graviton2,