DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK PDUMP Issue
@ 2020-07-14  8:40 Dikshant Chitkara
  2020-07-14 16:29 ` [dpdk-users] [dpdk-dev] " Stephen Hemminger
  0 siblings, 1 reply; 14+ messages in thread
From: Dikshant Chitkara @ 2020-07-14  8:40 UTC (permalink / raw)
  To: users, dev; +Cc: Amir Ilan, Veeresh Patil

Hi Team,

We are facing an issue w.r.t to using DPDK PDUMP utility and want to check if you can help us in this regard.

This issue is specific to DPDK 19.05 version or may  be newer versions and was not found on DPDK 18.08 version.

The issue is that when we built DPDK in shared library mode and try to run PDUMP we get following error on PDUMP console:

EAL: Failed to hotplug add device
EAL: Error - exiting with code: 1
  Cause: vdev creation failed

On Debugging above error message, I found that inside rte_dev_probe() function in the file  lib/librte_eal/common/eal_common_dev.c , req.result = -14 which is non-zero value and points to enum EFAULT (Bad address) value, thus leading to above error.

However, when I ran PDUMP in DPDK 18.08, I did not observe any such issue and it worked fine.

DPDK was built with following flags set in config/common_base file:

CONFIG_RTE_LIBRTE_PMD_PCAP=y
CONFIG_RTE_LIBRTE_PDUMP=y

I ran PDUMP with testpmd as primary application and was trying to send some traffic on the Ethernet dpdk port using testpmd and capture it using pdump.

Attached are the logs for both testpmd and pdump in both DPDK19_05 and DPDK_18_08 version for your reference.

Let us know if you can help in this regard.

Thanks,
Dikshant

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdump_18_08.txt
URL: <http://mails.dpdk.org/archives/users/attachments/20200714/88363eb9/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testpmd_18_08.txt
URL: <http://mails.dpdk.org/archives/users/attachments/20200714/88363eb9/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdump_19_05.txt
URL: <http://mails.dpdk.org/archives/users/attachments/20200714/88363eb9/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testpmd_19_05.txt
URL: <http://mails.dpdk.org/archives/users/attachments/20200714/88363eb9/attachment-0003.txt>

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-07-30 23:56 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14  8:40 [dpdk-users] DPDK PDUMP Issue Dikshant Chitkara
2020-07-14 16:29 ` [dpdk-users] [dpdk-dev] " Stephen Hemminger
2020-07-22  4:08   ` Varghese, Vipin
2020-07-28 14:51     ` Dikshant Chitkara
2020-07-28 16:23       ` Stephen Hemminger
2020-07-28 16:41         ` Dikshant Chitkara
2020-07-28 17:03           ` Stephen Hemminger
2020-07-28 17:08             ` Dikshant Chitkara
2020-07-29  0:59       ` Varghese, Vipin
2020-07-29  9:14         ` Dikshant Chitkara
2020-07-29  9:51           ` Varghese, Vipin
2020-07-29  9:56             ` Varghese, Vipin
2020-07-29 14:08             ` Dikshant Chitkara
2020-07-30  2:35               ` Varghese, Vipin

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).