net/virtio: add election for packed vector NEON path
[dpdk.git] / drivers / net / virtio / meson.build
index 3fd6051..738d667 100644 (file)
@@ -13,12 +13,12 @@ if arch_subdir == 'x86'
                if cc.has_argument('-mavx512f') and cc.has_argument('-mavx512vl') and cc.has_argument('-mavx512bw')
                        cflags += ['-DCC_AVX512_SUPPORT']
                        virtio_avx512_lib = static_library('virtio_avx512_lib',
-                                             'virtio_rxtx_packed_avx.c',
+                                             'virtio_rxtx_packed.c',
                                              dependencies: [static_rte_ethdev,
                                                static_rte_kvargs, static_rte_bus_pci],
                                              include_directories: includes,
                                              c_args: [cflags, '-mavx512f', '-mavx512bw', '-mavx512vl'])
-                       objs += virtio_avx512_lib.extract_objects('virtio_rxtx_packed_avx.c')
+                       objs += virtio_avx512_lib.extract_objects('virtio_rxtx_packed.c')
                        if (toolchain == 'gcc' and cc.version().version_compare('>=8.3.0'))
                                cflags += '-DVHOST_GCC_UNROLL_PRAGMA'
                        elif (toolchain == 'clang' and cc.version().version_compare('>=3.7.0'))
@@ -32,6 +32,7 @@ if arch_subdir == 'x86'
 elif arch_subdir == 'ppc'
        sources += files('virtio_rxtx_simple_altivec.c')
 elif arch_subdir == 'arm' and host_machine.cpu_family().startswith('aarch64')
+       sources += files('virtio_rxtx_packed.c')
        sources += files('virtio_rxtx_simple_neon.c')
 endif
 
@@ -42,6 +43,7 @@ if is_linux
                'virtio_user/vhost_kernel.c',
                'virtio_user/vhost_kernel_tap.c',
                'virtio_user/vhost_user.c',
+               'virtio_user/vhost_vdpa.c',
                'virtio_user/virtio_user_dev.c')
        deps += ['bus_vdev']
 endif