# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
+allow_experimental_apis = true
deps += 'eventdev'
sources = files(
- 'main.c',
- 'l2fwd_poll.c',
- 'l2fwd_common.c',
- 'l2fwd_event.c',
- 'l2fwd_event_internal_port.c',
- 'l2fwd_event_generic.c'
+ 'main.c',
+ 'l2fwd_common.c',
+ 'l2fwd_event.c',
+ 'l2fwd_event_generic.c',
+ 'l2fwd_event_internal_port.c',
+ 'l2fwd_poll.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