DPDK usage discussions
 help / color / mirror / Atom feed
From: "Gaëtan Rivet" <gaetan.rivet@6wind.com>
To: Martin Trommer <Martin.Trommer@rohde-schwarz.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] rte_eal_devargs_add fails in case of CONFIG_RTE_BUILD_SHARED_LIB=y
Date: Wed, 14 Mar 2018 14:24:50 +0100	[thread overview]
Message-ID: <20180314132450.rqswcnu4ygeebs7n@bidouze.vm.6wind.com> (raw)
In-Reply-To: <1010c541a9d74e59b69e6ac6132e907e@rohde-schwarz.com>

Hi,

On Wed, Mar 14, 2018 at 10:47:46AM +0000, Martin Trommer wrote:
> Hi DPDK users,
> 
> if I call "rte_eal_devargs_add" I will get 'ERROR: failed to parse device "0000:d8:00.0"'. I build DPDK 17.11 with the 'CONFIG_RTE_BUILD_SHARED_LIB=y' option.
> 
> The issue not occurred with DPDK 16.11.

Have you tested it in DPDK 17.05? The rte_devargs library changed in
this release.

> Any hints how to handle that ?

When do you call rte_eal_devargs_add? This function will ask each
registered bus to parse its input. If no bus is able to do so, then it
will print this error and abort.

So, considering that you build with SHARED=y: is the PCI bus compiled,
and is the resulting library available in the proper directory? Are you
sure it is loaded before you attempt to add this new devargs?

> 
> Thank you,
> Martin

-- 
Gaëtan Rivet
6WIND

      reply	other threads:[~2018-03-14 13:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 10:47 Martin Trommer
2018-03-14 13:24 ` Gaëtan Rivet [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=20180314132450.rqswcnu4ygeebs7n@bidouze.vm.6wind.com \
    --to=gaetan.rivet@6wind.com \
    --cc=Martin.Trommer@rohde-schwarz.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).