DPDK usage discussions
 help / color / mirror / Atom feed
From: postmaster <postmaster@ingenieur-high-tech.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: dpdk-pdump cannot init tailq as secondary process
Date: Thu, 20 Apr 2023 12:18:15 +0000	[thread overview]
Message-ID: <c9088947cca24f7a8345447cce9e45ff@ingenieur-high-tech.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3716 bytes --]

Hello

I follow what it is explained on that page

https://doc.dpdk.org/guides/tools/pdump.html

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


dpdk-pdump  -l 9 -- --pdump 'port=0,queue=*,rx-dev=/tmp/rx.pcap'
EAL: Detected CPU lcores: 24
EAL: Detected NUMA nodes: 1
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_1027261_2ca45105bcf34
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: Cannot initialize tailq: RTE_FIB
Tailq 0: qname:<RTE_RING>, tqh_first:0x17fe12640, tqh_last:0x17fe12640
Tailq 1: qname:<RTE_MEMPOOL>, tqh_first:0x17ffd7380, tqh_last:0x17ffd7380
Tailq 2: qname:<RTE_MBUF_DYNFIELD>, tqh_first:(nil), tqh_last:0x1000044e8
Tailq 3: qname:<RTE_MBUF_DYNFLAG>, tqh_first:(nil), tqh_last:0x100004518
Tailq 4: qname:<RTE_HASH>, tqh_first:(nil), tqh_last:0x100004548
Tailq 5: qname:<RTE_FBK_HASH>, tqh_first:(nil), tqh_last:0x100004578
Tailq 6: qname:<RTE_THASH>, tqh_first:(nil), tqh_last:0x1000045a8
Tailq 7: qname:<UIO_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x1000045d8
Tailq 8: qname:<VFIO_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x100004608
Tailq 9: qname:<RTE_REORDER>, tqh_first:(nil), tqh_last:0x100004638
Tailq 10: qname:<RTE_ACL>, tqh_first:(nil), tqh_last:0x100004668
Tailq 11: qname:<RTE_LPM>, tqh_first:(nil), tqh_last:0x100004698
Tailq 12: qname:<RTE_LPM6>, tqh_first:(nil), tqh_last:0x1000046c8
Tailq 13: qname:<RTE_SWX_PIPELINE>, tqh_first:(nil), tqh_last:0x1000046f8
Tailq 14: qname:<RTE_SWX_CTL_PIPELINE>, tqh_first:(nil), tqh_last:0x100004728
Tailq 15: qname:<VMBUS_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x100004758
Tailq 16: qname:<RTE_STACK>, tqh_first:(nil), tqh_last:0x100004788
Tailq 17: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 18: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 19: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 20: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 21: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 22: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 23: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 24: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 25: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 26: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 27: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 28: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 29: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 30: qname:<>, tqh_first:(nil), tqh_last:(nil)
Tailq 31: qname:<>, tqh_first:(nil), tqh_last:(nil)
EAL: FATAL: Cannot init tail queues for objects
EAL: Cannot init tail queues for objects
PANIC in main():
Cannot init EAL
0: ./dpdk-pdump (rte_dump_stack+0x32) [55e895dd03da]
1: ./dpdk-pdump (__rte_panic+0xf1) [55e895da1a3b]
2: ./dpdk-pdump (main+0x1c8) [55e8958c0c42]
3: /lib/x86_64-linux-gnu/libc.so.6 (7efe39e00000+0x29d90) [7efe39e29d90]
4: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0x80) [7efe39e29e40]
5: ./dpdk-pdump (_start+0x25) [55e8958ba535]
Abandon

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 ?

Looking inside the archive user mails, I got this link


http://mails.dpdk.org/archives/users/2022-January/006115.html


<http://mails.dpdk.org/archives/users/2022-January/006115.html>

But how do I enable

 ethedev rx/tx callbacks

as it is written please ?

 should I just add in the build/rte_config.h #define RTE_ETHDEV_RXTX_CALLBACKS 1 ?

With meson I dont understand how to enable features unlikely makefile / configure as formerly


thank you in advance for your clues


Karim

[-- Attachment #2: Type: text/html, Size: 4953 bytes --]

             reply	other threads:[~2023-04-23 13:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-20 12:18 postmaster [this message]
2023-04-24 16:17 ` Stephen Hemminger
2023-04-25  6:08   ` Karim Harouat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c9088947cca24f7a8345447cce9e45ff@ingenieur-high-tech.com \
    --to=postmaster@ingenieur-high-tech.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).