[dpdk-dev] [PATCH v7 2/3] eal: proc type function for Windows
Fady Bader
fady at mellanox.com
Tue May 19 01:20:26 CEST 2020
Implementation of rte_proc_type_t for Windows as it is needed for Windows
eal timer.
Signed-off-by: Fady Bader <fady at mellanox.com>
---
lib/librte_eal/windows/eal.c | 6 ++++++
1 file changed, 6 insertions(+)
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)
--
2.16.1.windows.4
More information about the dev
mailing list