DPDK usage discussions
 help / color / mirror / Atom feed
From: "Wiles, Keith" <keith.wiles@intel.com>
To: Tom Barbette <barbette@kth.se>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] ring vdev and secondary process
Date: Mon, 3 Sep 2018 15:08:33 +0000	[thread overview]
Message-ID: <C69ADED7-36B3-4A74-9B86-0514143C4B41@intel.com> (raw)
In-Reply-To: <1535985620212.88927@kth.se>



> On Sep 3, 2018, at 3:40 PM, Tom Barbette <barbette@kth.se> wrote:
> 
> Hi all,
> 
> 
> I'm trying to use virtual devices (ring-based PMD, but the underlying system does not matter) between two DPDK processes.
> 
> 
> But when I launch the secondary process, I get "RING: Cannot reserve memory". I modified the message to get the rte_errno, which is 17, File exists.  This also happens with testpmd.

Memory can not be allocated in the secondary process, but must request it from the primary. Is this the problem?

> 
> 
> I'm using DPDK 18.08. Using the ring API directly works without any problem. But I'd like to use the vdev one to build functional tests.
> 
> 
> I tried with the TAP pmd, the device is not available in the secondary process (rte_eth_dev_count_avail() is 0).
> 
> 
> Thanks,
> 
> Tom

Regards,
Keith

  reply	other threads:[~2018-09-03 15:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-03 14:40 Tom Barbette
2018-09-03 15:08 ` Wiles, Keith [this message]
2018-09-05 11:19   ` Tom Barbette

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=C69ADED7-36B3-4A74-9B86-0514143C4B41@intel.com \
    --to=keith.wiles@intel.com \
    --cc=barbette@kth.se \
    --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).