2020-11-01 17:38:00 -06:00
|
|
|
|
2020-11-01 17:37:41 -06:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2019-2020 Intel Corporation
|
|
|
|
|
|
|
|
if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64')
|
|
|
|
build = false
|
|
|
|
reason = 'only supported on ARCH_X86_64 Linux'
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2020-11-01 17:37:46 -06:00
|
|
|
sources = files('dlb2.c',
|
2020-11-01 17:37:47 -06:00
|
|
|
'dlb2_iface.c',
|
2020-11-01 17:37:49 -06:00
|
|
|
'dlb2_xstats.c',
|
2020-11-01 17:37:46 -06:00
|
|
|
'pf/dlb2_main.c',
|
2020-11-01 17:37:48 -06:00
|
|
|
'pf/dlb2_pf.c',
|
2020-11-01 17:38:00 -06:00
|
|
|
'pf/base/dlb2_resource.c',
|
2020-11-01 17:38:01 -06:00
|
|
|
'rte_pmd_dlb2.c',
|
|
|
|
'dlb2_selftest.c'
|
2020-11-01 17:37:46 -06:00
|
|
|
)
|
2020-11-01 17:37:41 -06:00
|
|
|
|
2020-11-01 17:38:00 -06:00
|
|
|
headers = files('rte_pmd_dlb2.h')
|
2020-11-01 17:37:41 -06:00
|
|
|
|
|
|
|
deps += ['mbuf', 'mempool', 'ring', 'pci', 'bus_pci']
|