1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017-2018 Intel Corporation
6 reason = 'only supported on linux'
9 dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true)
11 dpdk_conf.set('RTE_LIBRTE_VHOST_POSTCOPY',
12 cc.has_header('linux/userfaultfd.h'))
14 allow_experimental_apis = true
15 cflags += '-fno-strict-aliasing'
16 sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vdpa.c',
17 'vhost.c', 'vhost_user.c',
18 'virtio_net.c', 'vhost_crypto.c')
19 headers = files('rte_vhost.h', 'rte_vdpa.h', 'rte_vhost_crypto.h')
20 deps += ['ethdev', 'cryptodev', 'hash', 'pci']