From patchwork Mon Jan 11 23:16:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Retzlaff X-Patchwork-Id: 86349 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8C099A04B5; Tue, 12 Jan 2021 00:17:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8390E140D24; Tue, 12 Jan 2021 00:17:12 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 2198B140D12 for ; Tue, 12 Jan 2021 00:17:10 +0100 (CET) Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id 63B6720B6C41; Mon, 11 Jan 2021 15:17:09 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 63B6720B6C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1610407029; bh=bVOcokufX8zmN5cxcotI/wTbxGMvmhJobGiX7bElpqo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jsLMKmUqQPFS7nDa71mifUFtyh1Lma8ZYuQ7UVkj5595Qw/ib+2hi6mbSTLoI+ESx Uq5rTvDSDCbrC5PEufgw/WEjqsmbQ/132uh9pSQo+6IA6hjsCeLluAiWVk4dHVlfEX dHqAw9P+n7qGfUhJvqfIfxuFIfdetX8tJNhzLniY= From: Tyler Retzlaff To: dev@dpdk.org Cc: thomas@monjalon.net, dmitry.kozliuk@gmail.com Date: Mon, 11 Jan 2021 15:16:36 -0800 Message-Id: <1610406996-26992-2-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1610406996-26992-1-git-send-email-roretzla@linux.microsoft.com> References: <1610406996-26992-1-git-send-email-roretzla@linux.microsoft.com> Subject: [dpdk-dev] [PATCH v2] eal/windows: build rte_reciprocal functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Tyler Retzlaff build rte_reciprocal.c and export the following functions on windows * rte_reciprocal_value * rte_reciprocal_value_u64 Signed-off-by: Tyler Retzlaff Acked-by: Dmitry Kozlyuk --- lib/librte_eal/common/meson.build | 1 + lib/librte_eal/rte_eal_exports.def | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lib/librte_eal/common/meson.build b/lib/librte_eal/common/meson.build index 39abf7a0a..9c6f18eb8 100644 --- a/lib/librte_eal/common/meson.build +++ b/lib/librte_eal/common/meson.build @@ -34,6 +34,7 @@ if is_windows 'rte_malloc.c', 'eal_common_timer.c', 'rte_service.c', + 'rte_reciprocal.c', ) subdir_done() endif diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def index 4597eb8cd..99f64194d 100644 --- a/lib/librte_eal/rte_eal_exports.def +++ b/lib/librte_eal/rte_eal_exports.def @@ -128,6 +128,8 @@ EXPORTS rte_memzone_walk rte_openlog_stream rte_realloc + rte_reciprocal_value + rte_reciprocal_value_u64 rte_rtm_supported rte_service_attr_get rte_service_attr_reset_all