From: "Carrillo, Erik G" <erik.g.carrillo@intel.com>
To: David Marchand <david.marchand@redhat.com>,
"Li, Jiu (NSB - CN/Hangzhou)" <jiu.li@nokia-sbell.com>,
Robert Sanford <rsanford@akamai.com>
Cc: "users@dpdk.org" <users@dpdk.org>,
"Dong,
Shaojie (NSB - CN/Hangzhou)" <shaojie.dong@nokia-sbell.com>,
"Ye, Hua (NSB - CN/Hangzhou)" <hua.ye@nokia-sbell.com>,
"Alasaarela,
Risto (Nokia - FI/Oulu)" <risto.alasaarela@nokia.com>,
"Jarvelaid, Rain (Nokia - FI/Oulu)" <rain.jarvelaid@nokia.com>,
"Wu, Jianyue (NSB - CN/Hangzhou)" <jianyue.wu@nokia-sbell.com>,
"Pan,
Jianyong (NSB - CN/Hangzhou)" <jianyong.pan@nokia-sbell.com>
Subject: Re: [dpdk-users] Integration from Dpdk18.05 to Dpdk19.11 - rte_timer_subsystem_init(void)
Date: Tue, 19 Jan 2021 16:11:31 +0000 [thread overview]
Message-ID: <CY4PR1101MB2118243762002DA5ED322D0BB9A30@CY4PR1101MB2118.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CAJFAV8zqpZALdAGoqAj7QDm+Q83RPYA9zkLHRfukToHkSgEXxg@mail.gmail.com>
Hi,
Response in-line:
> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Monday, January 18, 2021 2:42 AM
> To: Li, Jiu (NSB - CN/Hangzhou) <jiu.li@nokia-sbell.com>; Robert Sanford
> <rsanford@akamai.com>; Carrillo, Erik G <erik.g.carrillo@intel.com>
> Cc: users@dpdk.org; Dong, Shaojie (NSB - CN/Hangzhou)
> <shaojie.dong@nokia-sbell.com>; Ye, Hua (NSB - CN/Hangzhou)
> <hua.ye@nokia-sbell.com>; Alasaarela, Risto (Nokia - FI/Oulu)
> <risto.alasaarela@nokia.com>; Jarvelaid, Rain (Nokia - FI/Oulu)
> <rain.jarvelaid@nokia.com>; Wu, Jianyue (NSB - CN/Hangzhou)
> <jianyue.wu@nokia-sbell.com>; Pan, Jianyong (NSB - CN/Hangzhou)
> <jianyong.pan@nokia-sbell.com>
> Subject: Re: [dpdk-users] Integration from Dpdk18.05 to Dpdk19.11 -
> rte_timer_subsystem_init(void)
>
> On Sun, Jan 17, 2021 at 11:04 PM Li, Jiu (NSB - CN/Hangzhou) <jiu.li@nokia-
> sbell.com> wrote:
> >
> > Hello! Dpdk experts,
> >
> > On Dpdk 18.05, void rte_timer_subsystem_init(void)
> > On Dpdk 19.11, int rte_timer_subsystem_init(void) implementation
> changed, which will return 0, -EALREADY or -ENOMEM;
> >
> > There is still have dpdk "process" mode (instead of pdkd thread mode)
> deployment in my side.
> > Can I have a question?
> >
> > If rte_timer_subsystem_init() is called one time is enough?
> > After rte_timer_subsystem_init() called with return 0 by one process , then
> other processes are able to use "rte timer" service without issue, right?
> >
rte_timer_subsystem_init() needs to be called in each process that wishes to create and manage timers.
Note that secondary processes need to be using distinct lcores, as described here:
http://doc.dpdk.org/guides-19.11/prog_guide/multi_proc_support.html#multi-process-limitations
"All DPDK processes running as a single application and using shared memory must have distinct coremask/corelist arguments. It is not possible to have a primary and secondary instance, or two secondary instances, using any of the same logical cores. Attempting to do so can cause corruption of memory pool caches, among other issues."
Regards,
Erik
>
> Copied timer library maintainers.
>
>
> --
> David Marchand
prev parent reply other threads:[~2021-01-19 16:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 2:38 Li, Jiu (NSB - CN/Hangzhou)
2021-01-18 8:41 ` David Marchand
2021-01-19 16:11 ` Carrillo, Erik G [this message]
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=CY4PR1101MB2118243762002DA5ED322D0BB9A30@CY4PR1101MB2118.namprd11.prod.outlook.com \
--to=erik.g.carrillo@intel.com \
--cc=david.marchand@redhat.com \
--cc=hua.ye@nokia-sbell.com \
--cc=jianyong.pan@nokia-sbell.com \
--cc=jianyue.wu@nokia-sbell.com \
--cc=jiu.li@nokia-sbell.com \
--cc=rain.jarvelaid@nokia.com \
--cc=risto.alasaarela@nokia.com \
--cc=rsanford@akamai.com \
--cc=shaojie.dong@nokia-sbell.com \
--cc=users@dpdk.org \
/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).