bus/vdev: build on Windows
authorTal Shnaiderman <talshn@mellanox.com>
Tue, 7 Jul 2020 08:48:23 +0000 (11:48 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 9 Sep 2020 12:39:37 +0000 (14:39 +0200)
current support will build vdev with empty MP functions
currently unsupported for Windows.

Signed-off-by: Tal Shnaiderman <talshn@mellanox.com>
Acked-by: Narcisa Vasile <navasile@linux.microsoft.com>
Tested-by: Narcisa Vasile <navasile@linux.microsoft.com>
Tested-by: Pallavi Kadam <pallavi.kadam@intel.com>
drivers/bus/vdev/meson.build
lib/librte_eal/rte_eal_exports.def

index 3a662b1..967d54e 100644 (file)
@@ -1,12 +1,6 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-if is_windows
-       build = false
-       reason = 'not supported on Windows'
-       subdir_done()
-endif
-
 sources = files('vdev.c',
        'vdev_params.c')
 install_headers('rte_bus_vdev.h')
index 69204a9..f54ed74 100644 (file)
@@ -11,6 +11,7 @@ EXPORTS
        rte_calloc_socket
        rte_bus_register
        rte_dev_is_probed
+       rte_devargs_insert
        rte_devargs_next
        rte_devargs_remove
        rte_eal_get_configuration
@@ -29,6 +30,9 @@ EXPORTS
        rte_eal_using_phys_addrs
        rte_free
        rte_hexdump
+       rte_log_register
+       rte_log_register_type_and_pick_level
+       rte_log_set_level
        rte_malloc
        rte_malloc_dump_stats
        rte_malloc_get_socket_stats
@@ -62,6 +66,7 @@ EXPORTS
        rte_memzone_walk
        rte_strerror
        rte_strsplit
+       rte_sys_gettid
        rte_vfio_container_dma_map
        rte_vfio_container_dma_unmap
        rte_vlog