* [dpdk-users] rte_eal_devargs_add fails in case of CONFIG_RTE_BUILD_SHARED_LIB=y
@ 2018-03-14 10:47 Martin Trommer
2018-03-14 13:24 ` Gaëtan Rivet
0 siblings, 1 reply; 2+ messages in thread
From: Martin Trommer @ 2018-03-14 10:47 UTC (permalink / raw)
To: users
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.
Any hints how to handle that ?
Thank you,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] rte_eal_devargs_add fails in case of CONFIG_RTE_BUILD_SHARED_LIB=y
2018-03-14 10:47 [dpdk-users] rte_eal_devargs_add fails in case of CONFIG_RTE_BUILD_SHARED_LIB=y Martin Trommer
@ 2018-03-14 13:24 ` Gaëtan Rivet
0 siblings, 0 replies; 2+ messages in thread
From: Gaëtan Rivet @ 2018-03-14 13:24 UTC (permalink / raw)
To: Martin Trommer; +Cc: users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-14 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-14 10:47 [dpdk-users] rte_eal_devargs_add fails in case of CONFIG_RTE_BUILD_SHARED_LIB=y Martin Trommer
2018-03-14 13:24 ` Gaëtan Rivet
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).