2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2018-04-05 16:01:34 +00:00
|
|
|
# Copyright(c) 2017-2018 Intel Corporation
|
2017-10-17 12:43:57 +00:00
|
|
|
|
|
|
|
if host_machine.system() != 'linux'
|
|
|
|
build = false
|
|
|
|
endif
|
2017-10-12 14:02:27 +00:00
|
|
|
if has_libnuma == 1
|
|
|
|
dpdk_conf.set10('RTE_LIBRTE_VHOST_NUMA', true)
|
|
|
|
endif
|
2017-10-17 12:43:57 +00:00
|
|
|
version = 4
|
|
|
|
allow_experimental_apis = true
|
2018-04-02 11:46:53 +00:00
|
|
|
sources = files('fd_man.c', 'iotlb.c', 'socket.c', 'vdpa.c',
|
|
|
|
'vhost.c', 'vhost_user.c',
|
2018-04-05 16:01:34 +00:00
|
|
|
'virtio_net.c', 'vhost_crypto.c')
|
|
|
|
headers = files('rte_vhost.h', 'rte_vdpa.h', 'rte_vhost_crypto.h')
|
|
|
|
deps += ['ethdev', 'cryptodev', 'hash', 'pci']
|