From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 21350429C5 for ; Sun, 23 Apr 2023 15:26:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5AD5C42D17; Sun, 23 Apr 2023 15:26:26 +0200 (CEST) Received: from 3.mo579.mail-out.ovh.net (3.mo579.mail-out.ovh.net [178.33.253.172]) by mails.dpdk.org (Postfix) with ESMTP id 5A19F40687 for ; Thu, 20 Apr 2023 14:18:16 +0200 (CEST) Received: from mxplan8.mail.ovh.net (unknown [10.109.146.178]) by mo579.mail-out.ovh.net (Postfix) with ESMTPS id 3087F27F9D for ; Thu, 20 Apr 2023 12:18:16 +0000 (UTC) Received: from DAG9EX1.mxp8.local (172.16.2.81) by DAG9EX1.mxp8.local (172.16.2.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 20 Apr 2023 14:18:15 +0200 Received: from DAG9EX1.mxp8.local ([fe80::8dca:d175:1a0f:8219]) by DAG9EX1.mxp8.local ([fe80::8dca:d175:1a0f:8219%6]) with mapi id 15.01.2507.023; Thu, 20 Apr 2023 14:18:15 +0200 From: postmaster To: "users@dpdk.org" Subject: dpdk-pdump cannot init tailq as secondary process Thread-Topic: dpdk-pdump cannot init tailq as secondary process Thread-Index: AQHZc4HdA1nbSR9nK0ye9jlzLigvzg== Date: Thu, 20 Apr 2023 12:18:15 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [37.59.142.71] x-ovh-tracer-guid: cfa47394-f32b-4a68-be42-7260553dbbe6 x-ovh-tracer-id: 3280872330661724951 Content-Type: multipart/alternative; boundary="_000_c9088947cca24f7a8345447cce9e45ffingenieurhightechcom_" MIME-Version: 1.0 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtvddghedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffuthffkfhitgggsegrtdhjredttddunecuhfhrohhmpehpohhsthhmrghsthgvrhcuoehpohhsthhmrghsthgvrhesihhnghgvnhhivghurhdqhhhighhhqdhtvggthhdrtghomheqnecuggftrfgrthhtvghrnhephfffgfduvdfhgeekveeivdfhteehleevhedvgeevueeuveethfejuddtffektdegnecuffhomhgrihhnpeguphgukhdrohhrghenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddrjedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehmgihplhgrnhekrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepphhoshhtmhgrshhtvghrsehinhhgvghnihgvuhhrqdhhihhghhdqthgvtghhrdgtohhmpdhnsggprhgtphhtthhopedupdhrtghpthhtohepuhhsvghrshesughpughkrdhorhhgpdfovfetjfhoshhtpehmohehjeel X-Mailman-Approved-At: Sun, 23 Apr 2023 15:26:25 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_c9088947cca24f7a8345447cce9e45ffingenieurhightechcom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 o= k exit with failure), but once I ran dpdk-pdump I got dpdk-pdump -l 9 -- --pdump 'port=3D0,queue=3D*,rx-dev=3D/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:, tqh_first:0x17fe12640, tqh_last:0x17fe12640 Tailq 1: qname:, tqh_first:0x17ffd7380, tqh_last:0x17ffd7380 Tailq 2: qname:, tqh_first:(nil), tqh_last:0x1000044e8 Tailq 3: qname:, tqh_first:(nil), tqh_last:0x100004518 Tailq 4: qname:, tqh_first:(nil), tqh_last:0x100004548 Tailq 5: qname:, tqh_first:(nil), tqh_last:0x100004578 Tailq 6: qname:, tqh_first:(nil), tqh_last:0x1000045a8 Tailq 7: qname:, tqh_first:(nil), tqh_last:0x1000045d8 Tailq 8: qname:, tqh_first:(nil), tqh_last:0x100004608 Tailq 9: qname:, tqh_first:(nil), tqh_last:0x100004638 Tailq 10: qname:, tqh_first:(nil), tqh_last:0x100004668 Tailq 11: qname:, tqh_first:(nil), tqh_last:0x100004698 Tailq 12: qname:, tqh_first:(nil), tqh_last:0x1000046c8 Tailq 13: qname:, tqh_first:(nil), tqh_last:0x1000046f8 Tailq 14: qname:, tqh_first:(nil), tqh_last:0x1000047= 28 Tailq 15: qname:, tqh_first:(nil), tqh_last:0x10000475= 8 Tailq 16: qname:, 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 librar= ies 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 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_CALLBA= CKS 1 ? With meson I dont understand how to enable features unlikely makefile / con= figure as formerly thank you in advance for your clues Karim --_000_c9088947cca24f7a8345447cce9e45ffingenieurhightechcom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

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 no= t ok exit with failure), but once I ran dpdk-pdump I got


dpdk-pdump  -l 9 -- --pdump 'port=3D0,queue=3D*,rx-dev=3D/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:0x17fe1264= 0
Tailq 1: qname:<RTE_MEMPOOL>, tqh_first:0x17ffd7380, tqh_last:0x17ffd= 7380
Tailq 2: qname:<RTE_MBUF_DYNFIELD>, tqh_first:(nil), tqh_last:0x10000= 44e8
Tailq 3: qname:<RTE_MBUF_DYNFLAG>, tqh_first:(nil), tqh_last:0x100004= 518
Tailq 4: qname:<RTE_HASH>, tqh_first:(nil), tqh_last:0x100004548
Tailq 5: qname:<RTE_FBK_HASH>, tqh_first:(nil), tqh_last:0x100004578<= br> Tailq 6: qname:<RTE_THASH>, tqh_first:(nil), tqh_last:0x1000045a8
Tailq 7: qname:<UIO_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x10000= 45d8
Tailq 8: qname:<VFIO_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x1000= 04608
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:0x10000= 46f8
Tailq 14: qname:<RTE_SWX_CTL_PIPELINE>, tqh_first:(nil), tqh_last:0x1= 00004728
Tailq 15: qname:<VMBUS_RESOURCE_LIST>, tqh_first:(nil), tqh_last:0x10= 0004758
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) [7efe39e29e= 40]
5: ./dpdk-pdump (_start+0x25) [55e8958ba535]
Abandon

How I should build dpdk please to make my app properly linked to rte librar= ies 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/0= 06115.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_E= THDEV_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

--_000_c9088947cca24f7a8345447cce9e45ffingenieurhightechcom_--