Skip to content

Commit

Permalink
config/arm: allow WFE to be enabled config time
Browse files Browse the repository at this point in the history
Allow RTE_ARM_USE_WFE to be enabled at meson configuration
time by passing it via c_args instead of modifying
`config/arm/meson.build`.

Example usage:
 meson build -Dc_args='-DRTE_ARM_USE_WFE' \
	--cross-file config/arm/arm64_cn10k_linux_gcc

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
Signed-off-by: 0-day Robot <robot@bytheb.org>
  • Loading branch information
PavanNikhilesh authored and ovsrobot committed Feb 1, 2024
1 parent 60c8023 commit 93c50c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/arm/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ flags_common = [
# ['RTE_ARM64_MEMCPY_ALIGN_MASK', 0xF],
# ['RTE_ARM64_MEMCPY_STRICT_ALIGN', false],

['RTE_ARM_USE_WFE', false],
# Enable use of ARM wait for event instruction.
# ['RTE_ARM_USE_WFE', false],

['RTE_ARCH_ARM64', true],
['RTE_CACHE_LINE_SIZE', 128]
]
Expand Down

0 comments on commit 93c50c9

Please sign in to comment.