From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id F104FA0520; Thu, 2 Jul 2020 15:14:45 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 898511D9C7; Thu, 2 Jul 2020 15:14:28 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id ADB951D938 for ; Thu, 2 Jul 2020 15:14:22 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE1 (envelope-from fady@mellanox.com) with SMTP; 2 Jul 2020 16:14:18 +0300 Received: from l-wincomp04-vm.labs.mlnx (l-wincomp04-vm.mtl.labs.mlnx [10.237.1.5]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 062DEHga017650; Thu, 2 Jul 2020 16:14:17 +0300 From: Fady Bader To: dev@dpdk.org Cc: thomas@monjalon.net, tbashar@mellanox.com, talshn@mellanox.com, yohadt@mellanox.com, dmitry.kozliuk@gmail.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, pallavi.kadam@intel.com, ranjit.menon@intel.com, olivier.matz@6wind.com, arybchenko@solarflare.com, mdr@ashroe.eu, nhorman@tuxdriver.com Date: Thu, 2 Jul 2020 16:14:09 +0300 Message-Id: <20200702131409.17964-4-fady@mellanox.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20200702131409.17964-1-fady@mellanox.com> References: <20200702131409.17964-1-fady@mellanox.com> Subject: [dpdk-dev] [PATCH v4 3/3] mempool: mempool build on Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some eal functions are used by mempool lib but not exported on Windows. The functions were exported. Added mempool to supported libraries for Windows compilation. Signed-off-by: Fady Bader --- lib/librte_eal/rte_eal_exports.def | 6 ++++++ lib/librte_eal/rte_eal_version.map | 1 + lib/meson.build | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def index 374e654264..984c5d1698 100644 --- a/lib/librte_eal/rte_eal_exports.def +++ b/lib/librte_eal/rte_eal_exports.def @@ -1,6 +1,11 @@ EXPORTS __rte_panic + __rte_trace_mem_per_thread_alloc + __rte_trace_point_emit_field + __rte_trace_point_register per_lcore__rte_errno + per_lcore_trace_mem + per_lcore_trace_point_sz rte_calloc rte_calloc_socket rte_bus_register @@ -58,6 +63,7 @@ EXPORTS rte_vfio_container_dma_unmap rte_vlog rte_realloc + rte_strscpy rte_zmalloc rte_zmalloc_socket diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map index 196eef5afa..9ad843c754 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -395,4 +395,5 @@ INTERNAL { rte_mem_map; rte_mem_page_size; rte_mem_unmap; + __rte_trace_mem_per_thread_alloc; }; diff --git a/lib/meson.build b/lib/meson.build index c1b9e1633f..584d601514 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -40,7 +40,7 @@ if is_windows 'kvargs', 'eal', 'ring', - 'pci', + 'mempool', 'pci', ] # only supported libraries for windows endif -- 2.16.1.windows.4