1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
4 sources += files('virtio_ethdev.c',
7 'virtio_rxtx_simple.c',
9 deps += ['kvargs', 'bus_pci']
11 if arch_subdir == 'x86'
12 sources += files('virtio_rxtx_simple_sse.c')
13 elif arch_subdir == 'ppc'
14 sources += files('virtio_rxtx_simple_altivec.c')
15 elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
16 sources += files('virtio_rxtx_simple_neon.c')
20 dpdk_conf.set('RTE_VIRTIO_USER', 1)
22 sources += files('virtio_user_ethdev.c',
23 'virtio_user/vhost_kernel.c',
24 'virtio_user/vhost_kernel_tap.c',
25 'virtio_user/vhost_user.c',
26 'virtio_user/virtio_user_dev.c')