X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=config%2Farm%2Fmeson.build;h=8aead74086d36744f12e196ce4968491bbff1167;hb=3cba7cedd279b00af890d42fa3dde167a4fe3fb7;hp=16e808cdd550f0b4f841a3bfc39c8ce3621455df;hpb=33e71acf3d446ced520f07e4d75769323e0ec22c;p=dpdk.git diff --git a/config/arm/meson.build b/config/arm/meson.build index 16e808cdd5..8aead74086 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -17,7 +17,6 @@ flags_common = [ # ['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF], # ['RTE_ARM64_MEMCPY_STRICT_ALIGN', false], - ['RTE_SCHED_VECTOR', false], ['RTE_ARM_USE_WFE', false], ['RTE_ARCH_ARM64', true], ['RTE_CACHE_LINE_SIZE', 128] @@ -49,6 +48,7 @@ implementer_generic = { ['RTE_ARCH_ARM_NEON_MEMCPY', false], ['RTE_ARCH_STRICT_ALIGN', true], ['RTE_ARCH_ARMv8_AARCH32', true], + ['RTE_ARCH', 'armv8_aarch32'], ['RTE_CACHE_LINE_SIZE', 64] ] } @@ -276,7 +276,8 @@ soc_cn10k = { 'implementer' : '0x41', 'flags': [ ['RTE_MAX_LCORE', 24], - ['RTE_MAX_NUMA_NODES', 1] + ['RTE_MAX_NUMA_NODES', 1], + ['RTE_MEMPOOL_ALIGN', 128] ], 'part_number': '0xd49', 'extra_march_features': ['crypto'], @@ -432,11 +433,15 @@ if dpdk_conf.get('RTE_ARCH_32') else # armv7 build dpdk_conf.set('RTE_ARCH_ARMv7', true) + dpdk_conf.set('RTE_ARCH', 'armv7') + dpdk_conf.set('RTE_MAX_LCORE', 128) + dpdk_conf.set('RTE_MAX_NUMA_NODES', 1) # the minimum architecture supported, armv7-a, needs the following, machine_args += '-mfpu=neon' endif else # armv8 build + dpdk_conf.set('RTE_ARCH', 'armv8') update_flags = true soc_config = {} if not meson.is_cross_build() @@ -460,7 +465,7 @@ else # 'Primary Part number', 'Revision'] detect_vendor = find_program(join_paths(meson.current_source_dir(), 'armv8_machine.py')) - cmd = run_command(detect_vendor.path()) + cmd = run_command(detect_vendor.path(), check: false) if cmd.returncode() == 0 cmd_output = cmd.stdout().to_lower().strip().split(' ') implementer_id = cmd_output[0]