Hi,
My advice is to recompile dpdk-dumpcap and link dpdk's dynamic libraries to 
match your app

发件人: Fuji Nafiul [mailto:[email protected]]
发送时间: 2023年7月9日 12:37
收件人: [email protected]
主题: How to add packet capture framework to a custom simple dpdk app

Hi,
I am using dpdk_v22.11.1 on ubuntu_v22.04.2. I have a simple app derived from 
skeleton and icmpecho which can reply to proper arp requests and also can reply 
to appropriate pings. Now whats the proper steps to add a packet capture 
framework like dpdk-dumpcap here as the doc didnt clearly said it, rather 
pointed out to check the testpmd.c

I simply added pdump header files, then initialized rte_pdump_init(), then I 
tried to run dpdk-dumpcap separately that was successful after running testpmd 
app but with my custom app it  failed.to<http://failed.to> run Then I noticed 
configure_rxtx_dump_callbacks() in port initialization and tried to add it 
properly in my app but failed. I am just not sure whether I am on the right way 
or not. so please help if you have already passed this. thanks in advance..!

Reply via email to