event/dlb: add self-tests
[dpdk.git] / drivers / event / dlb / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2019-2020 Intel Corporation
3
4 if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64')
5         build = false
6         reason = 'only supported on ARCH_X86_64 Linux'
7         subdir_done()
8 endif
9
10 sources = files('dlb.c',
11                 'dlb_iface.c',
12                 'dlb_xstats.c',
13                 'pf/dlb_main.c',
14                 'pf/dlb_pf.c',
15                 'pf/base/dlb_resource.c',
16                 'rte_pmd_dlb.c',
17                 'dlb_selftest.c'
18 )
19
20 headers = files('rte_pmd_dlb.h')
21
22 deps += ['mbuf', 'mempool', 'ring', 'pci', 'bus_pci']