DPDK patches and discussions
 help / color / mirror / Atom feed
From: Gopakumar Choorakkot Edakkunni <gopakumar.c.e@gmail.com>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] Using rte_ring_mp_xyz() across EAL and non-EAL threads ?
Date: Wed, 1 Jul 2015 10:50:49 -0700	[thread overview]
Message-ID: <CABK1yFDWZmBABBaj8fWhGJA-J3V82Yp_=GwwgZHj+LSnFL_PDg@mail.gmail.com> (raw)
In-Reply-To: <CABK1yFAeu3vJiGA8CVA+qd7OH6=sVQkx=BnisC81QTsy7P-Zsw@mail.gmail.com>

rte_ring_create() needs a socket-id though and seems to be allocating
core-specific memory pools for the ring ? But my non-EAL app thread is
not bound to any core, so now I am wondering if that will work.

Rgds,
Gopa.

On Wed, Jul 1, 2015 at 10:46 AM, Gopakumar Choorakkot Edakkunni
<gopakumar.c.e@gmail.com> wrote:
> Hi,
>
> I have a requirement where one of my non-EAL app threads needs to
> handoff some packets to an EAL task. I was thinking of using
> rte_ring_mp_enqueue/dequeue for that purpose. I looked at the code for
> the rte_ring library and it doesnt look like it has any "EAL"
> dependencies, but I wanted to double confirm that there are no issues
> in using it that way. Dint find much yes/no info about that on the
> mailers/docs. Pls let me know your thoughts.
>
> Rgds,
> Gopa.

  reply	other threads:[~2015-07-01 17:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 17:46 Gopakumar Choorakkot Edakkunni
2015-07-01 17:50 ` Gopakumar Choorakkot Edakkunni [this message]
2015-07-02  9:20   ` Bruce Richardson
2015-07-04  3:13     ` Gopakumar Choorakkot Edakkunni
2015-07-06  9:12       ` Bruce Richardson

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='CABK1yFDWZmBABBaj8fWhGJA-J3V82Yp_=GwwgZHj+LSnFL_PDg@mail.gmail.com' \
    --to=gopakumar.c.e@gmail.com \
    --cc=dev@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).