DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 610] Example App like skeleton, l2fwd etc. in DPDK 20.11 need static compilation else will fail during runtime
@ 2021-01-09  4:33 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-01-09  4:33 UTC (permalink / raw)
  To: dev

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@dpdk.org
          Reporter: yockgen@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@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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-09  4:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09  4:33 [dpdk-dev] [Bug 610] Example App like skeleton, l2fwd etc. in DPDK 20.11 need static compilation else will fail during runtime bugzilla

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git