net/ngbe: support flow control
[dpdk.git] / drivers / raw / ioat / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2019 Intel Corporation
3
4 build = dpdk_conf.has('RTE_ARCH_X86')
5 # only use ioat rawdev driver if we don't have the equivalent dmadev ones
6 if dpdk_conf.has('RTE_DMA_IDXD') and dpdk_conf.has('RTE_DMA_IOAT')
7     build = false
8     reason = 'replaced by dmadev drivers'
9     subdir_done()
10 endif
11
12 reason = 'only supported on x86'
13 sources = files(
14         'ioat_common.c',
15         'ioat_rawdev_test.c',
16 )
17
18 if not dpdk_conf.has('RTE_DMA_IDXD')
19     sources += files(
20             'idxd_bus.c',
21             'idxd_pci.c',
22     )
23 endif
24
25 if not dpdk_conf.has('RTE_DMA_IOAT')
26     sources += files (
27             'ioat_rawdev.c',
28     )
29 endif
30
31 deps += ['bus_pci', 'mbuf', 'rawdev']
32 headers = files(
33         'rte_ioat_rawdev.h',
34         'rte_idxd_rawdev_fns.h',
35         'rte_ioat_rawdev_fns.h',
36 )