From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 39220A0C43 for ; Thu, 14 Oct 2021 03:29:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0873040042; Thu, 14 Oct 2021 03:29:24 +0200 (CEST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by mails.dpdk.org (Postfix) with ESMTP id AE43740041 for ; Thu, 14 Oct 2021 03:29:22 +0200 (CEST) Received: by mail-qk1-f173.google.com with SMTP id ay35so4090717qkb.10 for ; Wed, 13 Oct 2021 18:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8lRPGD09MmgcqAeoAUTx0Z1gJlbOcVpniKyaFGozxkc=; b=HvvAMbCFaV7YGvVBwArAs+4La/4EBhL8n0L7jzPx8Sqpevd6IpdzTsSjnpmPX+w/AM oPfJBvaKliLlv+eDBkw93Gz5BFF22R2AjI45+9nWZPiJ5BdrZ/+wqaJtJ2XS7LJjSKCF NWFhJ9+jHyYYVvW1c7WZi4zpieiv8ndmyZAMJB+yw2bLWir7NhEwP32j+15SRcHyT3aU LAh5dx2T++jFFJvYhUu26Aem+In1qfIQLgPuD8nI7h4IxvP5AamEVKnwbK/isyZ4hezp j8DyIzoC2qeQE77h4HCSqZxNyho4MIr4tFeH7B6RlHTvdJFh/QPHos8ese0gQtl8paT+ T1kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8lRPGD09MmgcqAeoAUTx0Z1gJlbOcVpniKyaFGozxkc=; b=gkBVACr8/JgjT0CNhDVXn5R5WPr7vjqanqZxUw2LAQg6eOAJM6EPQ3PPlN2HS1Qe+y kwb8SsL4NtRsEk0OaEn4AOShMv0Qc5qLDQH1j+hoyK7n9RCoBBcCkLnTT3kNsDYw+K1u lntjllNwa5YOmCHG2Tj0sgLxUgXb5egFnODIF0FqScqSElJjpJJtNDgQtCPB+P9iMs7t mFRszQzAJDy3xmarHCbxjurFUv+e/wx8dBzmxBO0ZLcYyCbuQ2kiTLuh/Yg3hs2FZhQo /nVwL9hJryFOSXLzWlYND2kvmcWtyQlVjmfuIbSW0Brz9RTkT7npYW/nznmqgsNLVCsF qnmw== X-Gm-Message-State: AOAM531+NgJlvGgayM7SZHRkcmJHwMkn4VxAZxP3lfQAKOpQupvSW5a5 lxPpVfiNtoTyIVKT773zlZO9ZMIjgoo6A1qkVNvpYBDXGMs= X-Google-Smtp-Source: ABdhPJzDrred/yfyuDAED8idVvSJORxYbYYaNCJhgH7gyy0kQJl0ZG64KkkGHS0SBQ0rZm+dHrWwMQAkvFdX4aQWmTE= X-Received: by 2002:a37:8202:: with SMTP id e2mr2280460qkd.179.1634174961994; Wed, 13 Oct 2021 18:29:21 -0700 (PDT) MIME-Version: 1.0 References: <20211013095539.2169b008@hermes.local> In-Reply-To: <20211013095539.2169b008@hermes.local> From: =?UTF-8?B?5buW5pu46I+v?= Date: Thu, 14 Oct 2021 09:28:46 +0800 Message-ID: Subject: Re: Troubles using pdump to capture the packets To: Stephen Hemminger Cc: users@dpdk.org, =?UTF-8?B?5p6X5bqt5a6J?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Dear Stephen, Thanks for your response !!! Yes, I already set *CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy *and *CONFIG_RTE_LIBRTE_PDUMP=3Dy *in the file "dpdk-19.11/config/common_base" then build DPDK. Also, in the files "dpdk-19.11/x86_64-native-linuxapp-icc/.config" and "dpdk-19.11/x86_64-native-linuxapp-icc/.config.orig", they also show that *CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy *and *CONFIG_RTE_LIBRTE_PDUMP=3Dy.* It seems that it already enabled pcap PMD of DPDK. Do you have other suggestions ? Best Regards, Shu-hua, Liao Stephen Hemminger =E6=96=BC 2021=E5=B9=B410=E6= =9C=8814=E6=97=A5 =E9=80=B1=E5=9B=9B =E4=B8=8A=E5=8D=8812:55=E5=AF=AB=E9=81= =93=EF=BC=9A > On Wed, 13 Oct 2021 14:10:17 +0800 > =E5=BB=96=E6=9B=B8=E8=8F=AF wrote: > > > Dear all, > > > > In our environment, the DPDK version is for 19.11. > > Currently, we try to use pdump to capture the packet of our own > > application, however, we got the below error in our application and pdu= mp > > respectively. (If we replace our application with test-pmd, pdump will > not > > get the error) > > > > Error in our application : > > EAL: failed to parse device =E2=80=9Cvdev:net_pcap_rx_0=E2=80=9D > > The pdump support requires the pcap PMD to be enabled in the build. > What is your DPDK config? >