[v7,2/3] eal: proc type function for Windows
diff mbox series

Message ID 20200518232027.16712-3-fady@mellanox.com
State Superseded
Delegated to: Thomas Monjalon
Headers show
Series
  • eal timer split and implementation for Windows
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Fady Bader May 18, 2020, 11:20 p.m. UTC
Implementation of rte_proc_type_t for Windows as it is needed for Windows
eal timer.

Signed-off-by: Fady Bader <fady@mellanox.com>
---
 lib/librte_eal/windows/eal.c | 6 ++++++
 1 file changed, 6 insertions(+)

Patch
diff mbox series

diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c
index d084606a6..feee91244 100644
--- a/lib/librte_eal/windows/eal.c
+++ b/lib/librte_eal/windows/eal.c
@@ -90,6 +90,12 @@  eal_proc_type_detect(void)
 	return ptype;
 }
 
+enum rte_proc_type_t
+rte_eal_process_type(void)
+{
+	return rte_config.process_type;
+}
+
 /* display usage */
 static void
 eal_usage(const char *prgname)