<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello</p>
<p>I follow what it is explained on that page <br>
</p>
<p><a href="https://doc.dpdk.org/guides/tools/pdump.html" class="OWAAutoLink">https://doc.dpdk.org/guides/tools/pdump.html</a><br>
</p>
<p>to call rte_pdump_init in my application (and checking the result, if not ok exit with failure), but once I ran dpdk-pdump I got
<br>
</p>
<p><br>
</p>
<p></p>
<div>dpdk-pdump -l 9 -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap'<br>
EAL: Detected CPU lcores: 24<br>
EAL: Detected NUMA nodes: 1<br>
EAL: Detected static linkage of DPDK<br>
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_1027261_2ca45105bcf34<br>
EAL: Selected IOVA mode 'PA'<br>
EAL: VFIO support initialized<br>
EAL: Cannot initialize tailq: RTE_FIB<br>
Tailq 0: qname:<RTE_RING>, tqh_first:0x17fe12640, tqh_last:0x17fe12640<br>
Tailq 1: qname:<RTE_MEMPOOL>, tqh_first:0x17ffd7380, tqh_last:0x17ffd7380<br>
Tailq 2: qname:<RTE_MBUF_DYNFIELD>, tqh_first:(nil), tqh_last:0x1000044e8<br>
Tailq 3: qname:<RTE_MBUF_DYNFLAG>, tqh_first:(nil), tqh_last:0x100004518<br>
Tailq 4: qname:<RTE_HASH>, tqh_first:(nil), tqh_last:0x100004548<br>
Tailq 5: qname:<RTE_FBK_HASH>, tqh_first:(nil), tqh_last:0x100004578<br>
Tailq 6: qname:<RTE_THASH>, tqh_first:(nil), tqh_last:0x1000045a8<br>
Tailq 7: qname:<UIO_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x1000045d8<br>
Tailq 8: qname:<VFIO_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x100004608<br>
Tailq 9: qname:<RTE_REORDER>, tqh_first:(nil), tqh_last:0x100004638<br>
Tailq 10: qname:<RTE_ACL>, tqh_first:(nil), tqh_last:0x100004668<br>
Tailq 11: qname:<RTE_LPM>, tqh_first:(nil), tqh_last:0x100004698<br>
Tailq 12: qname:<RTE_LPM6>, tqh_first:(nil), tqh_last:0x1000046c8<br>
Tailq 13: qname:<RTE_SWX_PIPELINE>, tqh_first:(nil), tqh_last:0x1000046f8<br>
Tailq 14: qname:<RTE_SWX_CTL_PIPELINE>, tqh_first:(nil), tqh_last:0x100004728<br>
Tailq 15: qname:<VMBUS_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x100004758<br>
Tailq 16: qname:<RTE_STACK>, tqh_first:(nil), tqh_last:0x100004788<br>
Tailq 17: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 18: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 19: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 20: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 21: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 22: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 23: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 24: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 25: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 26: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 27: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 28: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 29: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 30: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
Tailq 31: qname:<>, tqh_first:(nil), tqh_last:(nil)<br>
EAL: FATAL: Cannot init tail queues for objects<br>
EAL: Cannot init tail queues for objects<br>
PANIC in main():<br>
Cannot init EAL<br>
0: ./dpdk-pdump (rte_dump_stack+0x32) [55e895dd03da]<br>
1: ./dpdk-pdump (__rte_panic+0xf1) [55e895da1a3b]<br>
2: ./dpdk-pdump (main+0x1c8) [55e8958c0c42]<br>
3: /lib/x86_64-linux-gnu/libc.so.6 (7efe39e00000+0x29d90) [7efe39e29d90]<br>
4: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [7efe39e29e40]<br>
5: ./dpdk-pdump (_start+0x25) [55e8958ba535]<br>
Abandon<br>
<br>
</div>
How I should build dpdk please to make my app properly linked to rte libraries and get init done for the second process dpdk-pdump ?
<p></p>
<p>Looking inside the archive user mails, I got this link <br>
</p>
<p><br>
</p>
<p><a href="http://mails.dpdk.org/archives/users/2022-January/006115.html" class="OWAAutoLink">http://mails.dpdk.org/archives/users/2022-January/006115.html</a></p>
<p><a href="http://mails.dpdk.org/archives/users/2022-January/006115.html" class="OWAAutoLink"><br>
</a></p>
<p>But how do I enable <br>
</p>
<pre> ethedev rx/tx callbacks</pre>
as it is written please ?
<p></p>
<p> should I just add in the build/rte_config.h <b><span>#define RTE_ETHDEV_RXTX_CALLBACKS 1</span>
</b>?</p>
<p>With meson I dont understand how to enable features unlikely makefile / configure as formerly
<br>
</p>
<p><br>
</p>
<p>thank you in advance for your clues</p>
<p><br>
</p>
<p>Karim<br>
</p>
</div>
</body>
</html>