summaryrefslogtreecommitdiff
path: root/config/arm
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2018-03-14 13:26:05 +0530
committerBruce Richardson <bruce.richardson@intel.com>2018-03-15 17:50:02 +0100
commit6ec78c2463acdd06560d09e3fb1056d2b1ec0c68 (patch)
treee1d917e86244f611043bcc7eb7d4c97836bab2d3 /config/arm
parent3d7ca4e1b0479640e4524274640f67cfaee50ab4 (diff)
downloaddpdk-6ec78c2463acdd06560d09e3fb1056d2b1ec0c68.zip
dpdk-6ec78c2463acdd06560d09e3fb1056d2b1ec0c68.tar.gz
dpdk-6ec78c2463acdd06560d09e3fb1056d2b1ec0c68.tar.xz
build: add meson support for dpaaX platforms
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Diffstat (limited to 'config/arm')
-rw-r--r--config/arm/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 4e788a4..c1ab6ed 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -54,6 +54,17 @@ flags_cavium = [
['RTE_MAX_LCORE', 96],
['RTE_MAX_VFIO_GROUPS', 128],
['RTE_RING_USE_C11_MEM_MODEL', false]]
+flags_dpaa = [
+ ['RTE_MACHINE', '"dpaa"'],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_NUMA_NODES', 1],
+ ['RTE_MAX_LCORE', 16]]
+flags_dpaa2 = [
+ ['RTE_MACHINE', '"dpaa2"'],
+ ['RTE_CACHE_LINE_SIZE', 64],
+ ['RTE_MAX_NUMA_NODES', 1],
+ ['RTE_MAX_LCORE', 16],
+ ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', 'n']]
## Arm implementer ID (ARM DDI 0487C.a, Section G7.2.106, Page G7-5321)
impl_generic = ['Generic armv8', flags_generic, machine_args_generic]
@@ -69,6 +80,8 @@ impl_0x51 = ['Qualcomm', flags_generic, machine_args_generic]
impl_0x53 = ['Samsung', flags_generic, machine_args_generic]
impl_0x56 = ['Marvell', flags_generic, machine_args_generic]
impl_0x69 = ['Intel', flags_generic, machine_args_generic]
+impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic]
+impl_dpaa2 = ['NXP DPAA2', flags_dpaa2, machine_args_generic]
if cc.get_define('__clang__') != ''