# require the power library
build = dpdk_conf.has('RTE_LIB_POWER')
+if not build
+ subdir_done()
+endif
allow_experimental_apis = true
deps += ['distributor', 'power']
# DPDK instance, use 'make'
build = is_linux
+if not build
+ subdir_done()
+endif
+
sources = files('lib/rte_ethtool.c',
'ethtool-app/ethapp.c',
'ethtool-app/main.c')
allow_experimental_apis = true
build = dpdk_conf.has('RTE_RAW_IOAT')
+if not build
+ subdir_done()
+endif
deps += ['raw_ioat']
# DPDK instance, use 'make'
build = cc.has_header('sys/epoll.h')
+if not build
+ subdir_done()
+endif
+
deps += ['pipeline', 'bus_pci']
allow_experimental_apis = true
sources = files(
# this app can be built if-and-only-if KNI library is buildable
build = dpdk_conf.has('RTE_LIB_KNI')
+if not build
+ subdir_done()
+endif
+
deps += ['kni', 'bus_pci']
sources = files(
'main.c'
pqos = cc.find_library('pqos', required: false)
build = pqos.found()
+if not build
+ subdir_done()
+endif
+
ext_deps += pqos
allow_experimental_apis = true
cflags += '-I/usr/local/include' # assume pqos lib installed in /usr/local
allow_experimental_apis = true
if not is_linux
build = false
+ subdir_done()
endif
+
deps += 'rawdev'
cflags += ['-D_FILE_OFFSET_BITS=64']
sources = files(
# DPDK instance, use 'make'
build = dpdk_conf.has('RTE_ARCH_X86_64')
+if not build
+ subdir_done()
+endif
+
deps += ['timer', 'lpm']
allow_experimental_apis = true
# DPDK instance, use 'make'
build = dpdk_conf.has('RTE_ARCH_X86_64') or dpdk_conf.has('RTE_ARCH_ARM64')
+if not build
+ subdir_done()
+endif
+
deps += ['timer']
allow_experimental_apis = true
# DPDK instance, use 'make'
build = cc.has_header('sys/epoll.h')
+if not build
+ subdir_done()
+endif
+
deps += ['pipeline', 'bus_pci']
allow_experimental_apis = true
sources = files(
if not is_linux
build = false
+ subdir_done()
endif
+
deps += 'vhost'
allow_experimental_apis = true
sources = files(
if not is_linux
build = false
+ subdir_done()
endif
+
deps += 'vhost'
allow_experimental_apis = true
sources = files(
if not is_linux
build = false
+ subdir_done()
endif
if not cc.has_header('linux/virtio_blk.h')
build = false
+ subdir_done()
endif
deps += 'vhost'
# DPDK instance, use 'make'
build = dpdk_conf.has('RTE_LIB_VHOST')
+if not build
+ subdir_done()
+endif
+
allow_experimental_apis = true
deps += ['vhost', 'cryptodev']
sources = files(