From: 廖書華 <[email protected]>
Sent: Friday, October 15, 2021 5:16 AM
To: Pattan, Reshma <[email protected]>
Cc: Stephen Hemminger <[email protected]>; [email protected]; 林庭安 
<[email protected]>
Subject: Re: Troubles using pdump to capture the packets

>>Dear Reshma,

>>Thanks for your kind response ! Unfortunately, it still can't work.


Also, could you please paste me the lbpcap-devel package version on your system.

Thanks,
Reshma

Pattan, Reshma <[email protected]<mailto:[email protected]>> 於 
2021年10月14日 週四 下午5:52寫道:


> -----Original Message-----
> From: 廖書華 <[email protected]<mailto:[email protected]>>


> 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/[email protected]/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 via email to