From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5F5DCA053D for ; Fri, 17 Jul 2020 12:03:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E9E01BFED; Fri, 17 Jul 2020 12:03:19 +0200 (CEST) Received: from mail.airspan.com (mail.airspan.com [188.39.32.15]) by dpdk.org (Postfix) with ESMTP id 4F1711D3F0; Tue, 14 Jul 2020 10:40:58 +0200 (CEST) Received: from FS50.airspan.com (10.2.10.50) by FS50.airspan.com (10.2.10.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Tue, 14 Jul 2020 09:40:55 +0100 Received: from FS50.airspan.com ([fe80::3560:1915:be85:f68b]) by FS50.airspan.com ([fe80::3560:1915:be85:f68b%5]) with mapi id 15.01.1979.003; Tue, 14 Jul 2020 09:40:55 +0100 From: Dikshant Chitkara To: "users@dpdk.org" , "dev@dpdk.org" CC: Amir Ilan , Veeresh Patil Thread-Topic: DPDK PDUMP Issue Thread-Index: AdZZqsmijJmfaGCxQD6BJkVQWrW5qw== Importance: high X-Priority: 1 Date: Tue, 14 Jul 2020 08:40:55 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [103.208.71.65] x-c2processedorg: 9bdab810-6dbc-44eb-a994-a231bebe8d9f MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 17 Jul 2020 12:03:17 +0200 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: [dpdk-users] DPDK PDUMP Issue X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" 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: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: testpmd_18_08.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: pdump_19_05.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: testpmd_19_05.txt URL: