Skip to contentSkip to conversation

eal/windows: build rte_reciprocal functions

PATCH Superseded Tyler Retzlaff 3 participants 4 messages Jan 11, 2021 – Jan 15, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 eal/windows: build rte_reciprocal functions

v2 of the patch corrects the following feedback.
* reduce subject line length, take that recommended by Dmitry Kozlyuk
* mirror export function order in .def to that of .map
* add export of rte_reciprocal_value

thanks

#1 lore raw

PATCH v2 1/1 eal/windows: build rte_reciprocal functions

From: Tyler Retzlaff <[email protected]>

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

---
 lib/librte_eal/common/meson.build  | 1 +
 lib/librte_eal/rte_eal_exports.def | 2 ++
 2 files changed, 3 insertions(+)
lib/librte_eal/common/meson.build +1 -0
index 39abf7a0a..9c6f18eb8 100644
@@ -34,6 +34,7 @@ if is_windows
 		'rte_malloc.c',
 		'eal_common_timer.c',
 		'rte_service.c',
+		'rte_reciprocal.c',
 	)
 	subdir_done()
 endif
lib/librte_eal/rte_eal_exports.def +2 -0
index 4597eb8cd..99f64194d 100644
@@ -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
Signature · 1 line
2.29.0.vfs.0.0
#3 lore raw

12/01/2021 00:49, Dmitry Kozlyuk:

Quoted 7 lines · Tyler Retzlaff
Quoted 6 lines

From: Tyler Retzlaff <[email protected]>

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

Quoted 7 lines
Quoted 2 lines

---

FYI, this is the place you could put description of changes in v2 for single-item patch sets.

Applied, thanks