[dpdk-dev] [Bug 333] PCI devices not found when DPDK is linked as dynamic libraries
bugzilla at dpdk.org
bugzilla at dpdk.org
Fri Jul 19 22:43:04 CEST 2019
https://bugs.dpdk.org/show_bug.cgi?id=333
Bug ID: 333
Summary: PCI devices not found when DPDK is linked as dynamic
libraries
Product: DPDK
Version: 19.08
Hardware: All
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: core
Assignee: dev at dpdk.org
Reporter: stephen at networkplumber.org
Target Milestone: ---
If DPDK is configured with RTE_SHARED_LIB=y then applications are not loading
the required PCI library and therefore devices are not found.
Example is that l3fwd works if linked statically but fails if built with shared
libraries.
# ./examples/l3fwd/build/l3fwd -n4 -l0-3 -w 02:00.0
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: failed to parse device "02:00.0"
EAL: Unable to parse device '02:00.0'
EAL: Error - exiting with code: 1
Cause: Invalid EAL parameters
The string 02:00.0 should have been parsed by PCI library and that will find
the device. but since library is not pulled in, the device is not found.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list