From: Stephen Hemminger <stephen@networkplumber.org>
To: Archit Pandey <architpandeynitk@gmail.com>
Cc: users@dpdk.org, "Mohit P. Tahiliani" <tahiliani@nitk.edu.in>,
Gokul Bargaje <gokulbargaje.182009@nitk.edu.in>,
Tarun Anand <anandtarun2@gmail.com>,
sanjana.krishnam@gmail.com
Subject: Re: [dpdk-users] Calling timers from a library
Date: Thu, 9 Apr 2020 11:36:15 -0700 [thread overview]
Message-ID: <20200409113615.4b63b0f5@hermes.lan> (raw)
In-Reply-To: <CANtWViPn43OegajQ8XYQwyaVwVMsv1Td=w6UJ2ftWC1vtiMMdA@mail.gmail.com>
On Thu, 9 Apr 2020 21:18:45 +0530
Archit Pandey <architpandeynitk@gmail.com> wrote:
> Thanks for the tip!
>
> This was what I experienced when I ran a separate function with periodic
> calls to rte_timer_manage(). The code would deadlock and stop executing
> after a few seconds.
>
> Is there a way to overcome this? Perhaps by passing the core numbers into
> the library?
The best advice is to stick to the DPDK threads.
There are multiple ways to do multiple events in one thread.
next prev parent reply other threads:[~2020-04-09 18:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 6:07 Archit Pandey
2020-04-09 14:57 ` Stephen Hemminger
2020-04-09 15:48 ` Archit Pandey
2020-04-09 18:36 ` Stephen Hemminger [this message]
2020-04-10 16:27 ` Archit Pandey
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=20200409113615.4b63b0f5@hermes.lan \
--to=stephen@networkplumber.org \
--cc=anandtarun2@gmail.com \
--cc=architpandeynitk@gmail.com \
--cc=gokulbargaje.182009@nitk.edu.in \
--cc=sanjana.krishnam@gmail.com \
--cc=tahiliani@nitk.edu.in \
--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).