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 343F442A08 for ; Thu, 27 Apr 2023 09:26:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FB4942B8C; Thu, 27 Apr 2023 09:26:33 +0200 (CEST) Received: from 8.mo580.mail-out.ovh.net (8.mo580.mail-out.ovh.net [46.105.52.207]) by mails.dpdk.org (Postfix) with ESMTP id E173B400D7 for ; Tue, 25 Apr 2023 08:08:17 +0200 (CEST) Received: from mxplan8.mail.ovh.net (unknown [10.109.146.121]) by mo580.mail-out.ovh.net (Postfix) with ESMTPS id ECC3F23B0F; Tue, 25 Apr 2023 06:08:16 +0000 (UTC) Received: from ingenieur-high-tech.com (37.59.142.108) by mxplan8.mail.ovh.net (172.16.2.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 25 Apr 2023 08:08:16 +0200 Authentication-Results: garm.ovh; auth=pass (GARM-108S002337f6606-1873-47d1-afc3-8fd47c8e9290, AA1EB2233BF7C701E93868E4829F121F4E0E1232) smtp.auth=postmaster@ingenieur-high-tech.com X-OVh-ClientIp: 2.10.140.62 Message-ID: <2601f487-3355-3443-12bf-f8a1fa7ef392@ingenieur-high-tech.com> Date: Tue, 25 Apr 2023 08:08:09 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: dpdk-pdump cannot init tailq as secondary process To: Stephen Hemminger CC: "users@dpdk.org" References: <20230424091750.7a045c4c@hermes.local> Content-Language: en-GB From: Karim Harouat In-Reply-To: <20230424091750.7a045c4c@hermes.local> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-GUID: a8ef3784-b840-4ccf-8376-f4af26b0148d X-Ovh-Tracer-Id: 7948853346472690586 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfeduuddguddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomhepmfgrrhhimhcujfgrrhhouhgrthcuoehinhhgvghnihgvuhhrsehinhhgvghnihgvuhhrqdhhihhghhdqthgvtghhrdgtohhmqeenucggtffrrghtthgvrhhnpedtffdvfedvleeggedvtdekjeefleegheejhefhudevgeffffekhedugfetfeduueenucffohhmrghinhepughpughkrdhorhhgnecukfhppedtrddtrddtrddtpddvrddutddrudegtddriedvpdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehmgihplhgrnhekrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepphhoshhtmhgrshhtvghrsehinhhgvghnihgvuhhrqdhhihhghhdqthgvtghhrdgtohhmpdhnsggprhgtphhtthhopedupdhrtghpthhtohepuhhsvghrshesughpughkrdhorhhgpdfovfetjfhoshhtpehmohehkedt X-Mailman-Approved-At: Thu, 27 Apr 2023 09:26:32 +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 Hello I'm using dpdk version 22.11 and so the arg --proc-type secondary is set hardcoded inside the dpdk-pdump main program. I fixed my issue by taking all cflags in libdpdk.pc file linking any personnal application statically with all librte. And so the static rte_fib tail is initialized properly for the dpdk-pdump. But my app is bigger now, I'm currently trying to link only needed libraries to reduce the size. With less libraries static linkage now I am facing with another issue,  it is create ring vdev function which failed. I will try dpdk-dumpcap Thank you! Le 24/04/2023 à 18:17, Stephen Hemminger a écrit : > On Thu, 20 Apr 2023 12:18:15 +0000 > postmaster wrote: > >> 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 > Looks like pdump is not being run as a secondary process. > Try adding --proc-type secondary > > Also, pdump is legacy application; please try dpdk-dumpcap instead. > Dumpcap supports more information, multiple interfaces, etc. >