How to add packet capture framework to a custom simple dpdk app
Fuji Nafiul
nafiul.fuji at gmail.com
Sun Jul 9 06:36:53 CEST 2023
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 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..!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20230709/a2d10478/attachment.htm>
More information about the users
mailing list