From: Fady Bader <fady@mellanox.com>
To: dev@dpdk.org
Cc: thomas@monjalon.net, talshn@mellanox.com,
dmitry.koziuk@gmail.com, yohadt@mellanox.com,
harini.ramakrishnan@microsoft.com, ocardona@microsoft.com,
anand.rawat@intel.com, ranjit.menon@intel.com
Subject: [dpdk-dev] [PATCH v5 2/3] eal: proc type function for Windows
Date: Thu, 7 May 2020 16:05:30 +0300 [thread overview]
Message-ID: <20200507130531.624-3-fady@mellanox.com> (raw)
In-Reply-To: <20200507130531.624-1-fady@mellanox.com>
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(+)
diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c
index 2cf7a04ef..831179799 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
next prev parent reply other threads:[~2020-05-07 13:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 13:05 [dpdk-dev] [PATCH v5 0/3] eal timer split and implementation " Fady Bader
2020-05-07 13:05 ` [dpdk-dev] [PATCH v5 1/3] timer: move from common to Unix directory Fady Bader
2020-05-07 13:05 ` Fady Bader [this message]
2020-05-07 13:05 ` [dpdk-dev] [PATCH v5 3/3] timer: support EAL functions on Windows Fady Bader
2020-05-07 20:54 ` Dmitry Kozlyuk
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=20200507130531.624-3-fady@mellanox.com \
--to=fady@mellanox.com \
--cc=anand.rawat@intel.com \
--cc=dev@dpdk.org \
--cc=dmitry.koziuk@gmail.com \
--cc=harini.ramakrishnan@microsoft.com \
--cc=ocardona@microsoft.com \
--cc=ranjit.menon@intel.com \
--cc=talshn@mellanox.com \
--cc=thomas@monjalon.net \
--cc=yohadt@mellanox.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).