DPDK patches and discussions
 help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: Stuart Andrews <stuartandrews99@gmail.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] No probed ethernet devices with shared library
Date: Mon, 18 May 2015 12:34:53 +0300	[thread overview]
Message-ID: <5559B23D.2030605@redhat.com> (raw)
In-Reply-To: <CAJ2V9BJA=W27fr8Ofto1p4QtjFPHu-xRvE6-3vePp8yn_jJqsg@mail.gmail.com>

On 05/18/2015 12:55 AM, Stuart Andrews wrote:
> Hello,
>
> I've been trying to create an app which uses the DPDK shared library and
> therefore I have
>
> CONFIG_RTE_BUILD_SHARED_LIB=y
>
> However, when I try to run 'test-pmd' I get
>
> EAL: No probed ethernet devices
>
> This is strange because when I compile DPDK with
> CONFIG_RTE_BUILD_SHARED_LIB=n and run 'test-pmd' everything works fine.
>
> I'm using the IGB UIO module on a x86_64 Ubuntu OS running on a vm and I
> set everything up according to the documentation.
>
> Any help would be appreciated.

When building as shared library, all the drivers are dynamically 
loadable plugins instead of the big pile o' everything you get when 
statically linking. For now, you need to manually load any drivers you 
need with the EAL -d option, eg if you use virtio NIC in the VM you'd 
add this to testpmd: -d librte_pmd_virtio_uio.so

And yes its cumbersome. Doing something about it has been on my todo for 
a while now, just been busy with other stuff.

	- Panu -

      reply	other threads:[~2015-05-18  9:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-17 21:55 Stuart Andrews
2015-05-18  9:34 ` Panu Matilainen [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=5559B23D.2030605@redhat.com \
    --to=pmatilai@redhat.com \
    --cc=dev@dpdk.org \
    --cc=stuartandrews99@gmail.com \
    /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).