DPDK usage discussions
 help / color / mirror / Atom feed
From: "Pattan, Reshma" <reshma.pattan@intel.com>
To: 廖書華 <sim860927@gmail.com>,
	"Stephen Hemminger" <stephen@networkplumber.org>
Cc: "users@dpdk.org" <users@dpdk.org>, 林庭安 <lingwanjae@gmail.com>
Subject: RE: Troubles using pdump to capture the packets
Date: Thu, 14 Oct 2021 09:51:50 +0000	[thread overview]
Message-ID: <BYAPR11MB3366A04F16A8B3ED16D52341FFB89@BYAPR11MB3366.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CANq=q41cskKPjhH+9KC415iTssnvx453OmMw3KwC6OMBK6C2WA@mail.gmail.com>



> -----Original Message-----
> From: 廖書華 <sim860927@gmail.com>


> Yes, I already set *CONFIG_RTE_LIBRTE_PMD_PCAP=y *and
> *CONFIG_RTE_LIBRTE_PDUMP=y *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=y *and *CONFIG_RTE_LIBRTE_PDUMP=y.*
> 
> It seems that it already enabled pcap PMD of DPDK.
> Do you have other suggestions ?

Hi,

Few options you can double check
1)Make sure your primary application is calling rte_pdump_init()/ret_pudmp_uninit() to initialize/uninitialize the pdump library.
2)If you are using a shared library build,   double check you are  linking pcap pmd properly in primary build as explained in below link
https://www.mail-archive.com/users@dpdk.org/msg05039.html
https://stackoverflow.com/questions/62795017/dpdk-pdump-failed-to-hotplug-add-device
3)If you are passing any pci device using  eal "-w" option to primary,  try to pass the same device to secondary also using "-w" option . 

If you still see the issue please paste the full primary and secondary application run log with command that you are running.
Also what kind of build you are using.

Thanks,
Reshma
  

  reply	other threads:[~2021-10-14  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13  6:10 廖書華
2021-10-13 16:55 ` Stephen Hemminger
2021-10-14  1:28   ` 廖書華
2021-10-14  9:51     ` Pattan, Reshma [this message]
2021-10-15  4:16       ` 廖書華
2021-10-15 10:33         ` Pattan, Reshma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BYAPR11MB3366A04F16A8B3ED16D52341FFB89@BYAPR11MB3366.namprd11.prod.outlook.com \
    --to=reshma.pattan@intel.com \
    --cc=lingwanjae@gmail.com \
    --cc=sim860927@gmail.com \
    --cc=stephen@networkplumber.org \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).