From patchwork Mon Jun 1 09:38:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tal Shnaiderman X-Patchwork-Id: 70712 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7EB2DA04EF; Mon, 1 Jun 2020 11:38:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 30D7F1D16C; Mon, 1 Jun 2020 11:38:30 +0200 (CEST) Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id 54D411D162 for ; Mon, 1 Jun 2020 11:38:27 +0200 (CEST) Received: from Internal Mail-Server by MTLPINE2 (envelope-from talshn@mellanox.com) with ESMTPS (AES256-SHA encrypted); 1 Jun 2020 12:38:25 +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 0519cPvc023724; Mon, 1 Jun 2020 12:38:25 +0300 From: talshn@mellanox.com To: dev@dpdk.org Cc: thomas@monjalon.net, pallavi.kadam@intel.com, dmitry.kozliuk@gmail.com, david.marchand@redhat.com, olivier.matz@6wind.com, ranjit.menon@intel.com, navasile@linux.microsoft.com, fady@mellanox.com, harini.ramakrishnan@microsoft.com, ocardona@microsoft.com, Tal Shnaiderman Date: Mon, 1 Jun 2020 12:38:17 +0300 Message-Id: <20200601093818.5420-4-talshn@mellanox.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20200601093818.5420-1-talshn@mellanox.com> References: <20200601093818.5420-1-talshn@mellanox.com> Subject: [dpdk-dev] [PATCH 3/4] eal: export needed functions for mbuf 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" From: Tal Shnaiderman Export needed eal functions used by the lib. Signed-off-by: Tal Shnaiderman --- lib/librte_eal/common/meson.build | 1 + lib/librte_eal/rte_eal_exports.def | 3 +++ lib/librte_eal/rte_eal_version.map | 1 + 3 files changed, 5 insertions(+) diff --git a/lib/librte_eal/common/meson.build b/lib/librte_eal/common/meson.build index cf4b9e56eb..530e06033b 100644 --- a/lib/librte_eal/common/meson.build +++ b/lib/librte_eal/common/meson.build @@ -12,6 +12,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', diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def index 9ebf0d641a..9b2ebbcdf5 100644 --- a/lib/librte_eal/rte_eal_exports.def +++ b/lib/librte_eal/rte_eal_exports.def @@ -3,6 +3,7 @@ EXPORTS per_lcore__rte_errno rte_calloc rte_calloc_socket + per_lcore__lcore_id per_lcore__rte_errno rte_bus_register rte_dev_is_probed @@ -12,6 +13,7 @@ EXPORTS rte_eal_has_hugepages 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 @@ -20,6 +22,7 @@ EXPORTS rte_eal_tailq_register rte_eal_using_phys_addrs rte_free + rte_hexdump rte_log rte_malloc rte_malloc_dump_stats diff --git a/lib/librte_eal/rte_eal_version.map b/lib/librte_eal/rte_eal_version.map index 361d4808f5..8ecef1ace1 100644 --- a/lib/librte_eal/rte_eal_version.map +++ b/lib/librte_eal/rte_eal_version.map @@ -394,4 +394,5 @@ EXPERIMENTAL { rte_mem_unmap; __emutls_v.per_lcore__rte_errno; __rte_trace_mem_per_thread_alloc; + __emutls_v.per_lcore__lcore_id; };