080f57bcec
Add event dev main loop based on enabled l2fwd options and eventdev capabilities. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
24 lines
611 B
Meson
24 lines
611 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(C) 2019 Marvell International Ltd.
|
|
#
|
|
|
|
# meson file, for building this example as part of a main DPDK build.
|
|
#
|
|
# To build this example as a standalone application with an already-installed
|
|
# DPDK instance, use 'make'
|
|
|
|
deps += 'eventdev'
|
|
sources = files(
|
|
'main.c',
|
|
'l2fwd_poll.c',
|
|
'l2fwd_common.c',
|
|
'l2fwd_event.c',
|
|
'l2fwd_event_internal_port.c',
|
|
'l2fwd_event_generic.c'
|
|
)
|
|
|
|
# for clang 32-bit compiles we need libatomic for 64-bit atomic ops
|
|
if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
|
|
ext_deps += cc.find_library('atomic')
|
|
endif
|