* [dpdk-dev] No probed ethernet devices with shared library
@ 2015-05-17 21:55 Stuart Andrews
2015-05-18 9:34 ` Panu Matilainen
0 siblings, 1 reply; 2+ messages in thread
From: Stuart Andrews @ 2015-05-17 21:55 UTC (permalink / raw)
To: dev
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] No probed ethernet devices with shared library
2015-05-17 21:55 [dpdk-dev] No probed ethernet devices with shared library Stuart Andrews
@ 2015-05-18 9:34 ` Panu Matilainen
0 siblings, 0 replies; 2+ messages in thread
From: Panu Matilainen @ 2015-05-18 9:34 UTC (permalink / raw)
To: Stuart Andrews, dev
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 -
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-18 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-17 21:55 [dpdk-dev] No probed ethernet devices with shared library Stuart Andrews
2015-05-18 9:34 ` Panu Matilainen
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).