mbuf: build on Windows
authorTal Shnaiderman <talshn@mellanox.com>
Thu, 25 Jun 2020 15:24:15 +0000 (18:24 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jul 2020 23:47:24 +0000 (01:47 +0200)
Build the lib for Windows.
Export needed EAL functions used by the lib.

Signed-off-by: Tal Shnaiderman <talshn@mellanox.com>
lib/librte_eal/common/meson.build
lib/librte_eal/rte_eal_exports.def
lib/meson.build

index dc9b1d2..c1d9f21 100644 (file)
@@ -14,6 +14,7 @@ if is_windows
                'eal_common_dynmem.c',
                'eal_common_errno.c',
                'eal_common_fbarray.c',
+               'eal_common_hexdump.c',
                'eal_common_launch.c',
                'eal_common_lcore.c',
                'eal_common_log.c',
index 984c5d1..69204a9 100644 (file)
@@ -3,6 +3,7 @@ EXPORTS
        __rte_trace_mem_per_thread_alloc
        __rte_trace_point_emit_field
        __rte_trace_point_register
+       per_lcore__lcore_id
        per_lcore__rte_errno
        per_lcore_trace_mem
        per_lcore_trace_point_sz
@@ -17,6 +18,7 @@ EXPORTS
        rte_eal_has_pci
        rte_eal_init
        rte_eal_iova_mode
+       rte_eal_mbuf_user_pool_ops
        rte_eal_mp_remote_launch
        rte_eal_mp_wait_lcore
        rte_eal_process_type
@@ -26,6 +28,7 @@ EXPORTS
        rte_eal_tailq_register
        rte_eal_using_phys_addrs
        rte_free
+       rte_hexdump
        rte_malloc
        rte_malloc_dump_stats
        rte_malloc_get_socket_stats
index 8937d49..3089b03 100644 (file)
@@ -40,7 +40,7 @@ if is_windows
                'kvargs',
                'eal',
                'ring',
-               'mempool', 'pci',
+               'mempool', 'mbuf', 'pci',
        ] # only supported libraries for windows
 endif