[dpdk-dev] [Bug 610] Example App like skeleton, l2fwd etc. in DPDK 20.11 need static compilation else will fail during runtime
bugzilla at dpdk.org
bugzilla at dpdk.org
Sat Jan 9 05:33:09 CET 2021
https://bugs.dpdk.org/show_bug.cgi?id=610
Bug ID: 610
Summary: Example App like skeleton, l2fwd etc. in DPDK 20.11
need static compilation else will fail during runtime
Product: DPDK
Version: 20.11
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: examples
Assignee: dev at dpdk.org
Reporter: yockgen at gmail.com
Target Milestone: ---
Example App like skeleton, l2fwd etc. in DPDK 20.11 (not happened in 20.08)
need static compilation else will fail during runtime with confusing message
like below might led to wrong direction troubleshooting:
===============================================================================
oot at yockgen-VirtualBox://home/yockgen/dpdk/examples/l2fwd# ./build/l2fwd -- -p
0x3
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
MAC updating enabled
EAL: Error - exiting with code: 1
Cause: No Ethernet ports - bye
================================================================================
Two options to remedy the problem:
1. make static
2. Added runtime parameter -d (e.g. -d librte_net_e1000.so)
Expected precise error handling message display, as the sample apps mostly the
first entry point for inexperience new users, precise message will really help
reduce the already high learning curve for DPDK.
Thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list