All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tyler Retzlaff <roretzla@linux.microsoft.com>
To: dev@dpdk.org
Cc: thomas@monjalon.net, dmitry.kozliuk@gmail.com
Subject: [dpdk-dev] [PATCH v2] eal/windows: build rte_reciprocal functions
Date: Mon, 11 Jan 2021 15:16:36 -0800	[thread overview]
Message-ID: <1610406996-26992-2-git-send-email-roretzla@linux.microsoft.com> (raw)
In-Reply-To: <1610406996-26992-1-git-send-email-roretzla@linux.microsoft.com>

From: Tyler Retzlaff <roretzla@microsoft.com>

build rte_reciprocal.c and export the following functions on windows
  * rte_reciprocal_value
  * rte_reciprocal_value_u64

Signed-off-by: Tyler Retzlaff <roretzla@microsoft.com>
---
 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
-- 
2.29.0.vfs.0.0


  reply	other threads:[~2021-01-11 23:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 23:16 [dpdk-dev] [PATCH v2] eal/windows: build rte_reciprocal functions Tyler Retzlaff
2021-01-11 23:16 ` Tyler Retzlaff [this message]
2021-01-11 23:49   ` Dmitry Kozlyuk
2021-01-15 13:56     ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1610406996-26992-2-git-send-email-roretzla@linux.microsoft.com \
    --to=roretzla@linux.microsoft.com \
    --cc=dev@dpdk.org \
    --cc=dmitry.kozliuk@gmail.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.