> -----Original Message----- > From: 廖書華 <sim860...@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