DPDK PDUMP pcapng usage

Sylvia Grundwürmer sylvia.grundwuermer at b-plus.com
Tue Oct 11 17:11:02 CEST 2022


Hi,

i am running DPDK 22.03 on a NXP platform, using 2 eth ports (dpmac, dpni, dprc config should be OK, as i get bursts of packets with testpmd and in a little customized app
which is just checking if packets are bursted in mempool.

So then i tried to use pdump and pcapng to write out a capture.pcapng file.

I created mempool and ringbuffer according tot o the dumpcap-example, (rte_eth_dev_configure, rte_eth_dev_adjust_nb_rx_tx_desc, rte_eth_rx/tx_queue_setup, rte_eth_dev_start with the portid i have and which was veryfied by my little customized app as working properly)
but when i call enable_pdump i am running into a segmentation fault.

Validation of port, ring, mp, flags are ok.
the problem seems to come from snprintf. There is no different behaviour no matter if i use enable_pdump or enable_pdump_by_deviceID or enable_pdump_bpf.
PDUMP seems to have trouble whith my portID or deviceID.

Can you give any hint, what might go wrong here? Or what i could try to get this stuff running?
Thanks in advance.

[cid:image003.png at 01D8DD94.70449230]


Mit freundlichen Grüßen / Best regards

i.A. Sylvia Grundwürmer
Software-Entwicklerin / Software Developer

b-plus GmbH
Ulrichsberger Straße 17 | 94469 Deggendorf
sylvia.grundwuermer at b-plus.com

Besucheradresse / Visitor address:
b-plus GmbH
Ulrichsberger Str. 17, 94469 Deggendorf, Germany
Website<http://www.b-plus.com/> | XING<https://www.xing.com/companies/b-plusgmbh> | FACEBOOK<https://www.facebook.com/bplusGmbH/> | LinkedIn<https://www.linkedin.com/company/b-plus-gmbh/>


[cid:image004.jpg at 01D8DD94.70449230]<https://karriere.b-plus.com/jobs>
b-plus GmbH
Geschäftsführer / Managing Director: Dipl.-Ing.(FH) Michael Sieg
Gerichtsstand /Handelsregister / Place of jurisdiction / Commercial register: HRB 1753 Deggendorf / Germany
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und löschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.


















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20221011/7dc71fc5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 313423 bytes
Desc: image003.png
URL: <http://mails.dpdk.org/archives/dev/attachments/20221011/7dc71fc5/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 12799 bytes
Desc: image004.jpg
URL: <http://mails.dpdk.org/archives/dev/attachments/20221011/7dc71fc5/attachment-0001.jpg>


More information about the dev mailing list