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 63330A00C2; Tue, 8 Mar 2022 09:32:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F38844068B; Tue, 8 Mar 2022 09:32:55 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id D3A0240041 for ; Tue, 8 Mar 2022 09:32:54 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8175E5C0127; Tue, 8 Mar 2022 03:32:54 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 08 Mar 2022 03:32:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; bh=NGPSClGA/SIKc9 TXMXYAPaBfDCTUHZfXEAZhMNGKqHI=; b=mtGiujRTcaaNs9l5rjqBZAAfBfb2Xr hLvAitdkPq5VlM7yUIS6B1/i5dCbQza6CElEb40wNpo9rag0GGk4PTdAQpPHa6X2 +A3s6+uNVsv6eC7g5WdlzpCcXw9K7qnUPY5ZI65mu1HfQviTBJN80Nu9cNqs9ruQ HM7E3AN0UF1Gquqjr3pAeiWKZ0tXIHjAtrM+55xZEF82nU//EAVunIRdM9aaUYxj EwFVG7gnCPBqF7x1ly67xRNVs/yutuCdC6h4STajf9/zSQNKFRLvve5zJUiVAAiU XmAfpwvQ7LbRXWGiL4tsdBGy4thQsGB2xNEgTaoZXZWGxnI4BWyerOYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=NGPSClGA/SIKc9TXMXYAPaBfDCTUHZfXEAZhMNGKq HI=; b=SOFoI1d1t14UP1khJ9meDWMRqOFh1e208ouTGlFvLHFZl5YqdHdwLobhE eqOOchUktfhczTtI9wNdAyTX17AJvMSmDGeVy4xpDlHlOqaJhJ1mKEVsHm4TfnDN Eb8aalDi2E80qtPze9KsovHXsJu5p/geMdWPOdM02+W4xfI9P9k2dQdpIibUAFtu /UOURUw+5Fm9Mvgy5faVdM+2mHWGn70azjxiRFC533Dg6Nc4UTGxq4H5omtaSFmW uqSTYo+qpEfEVn7C+REefh3KNRODzUpEmzttw35iWGPIHEJPto95gURdO+JzAQ8+ 6AkkWTgJs4VnPkJaed1y/XfJLvM1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudduhedguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Mar 2022 03:32:53 -0500 (EST) From: Thomas Monjalon To: ben.magistro@trinitycyber.com, Ben Magistro Cc: stephen@networkplumber.org, Reshma Pattan , dev@dpdk.org Subject: Re: [PATCH] app/dumpcap: allow help/version without primary process Date: Tue, 08 Mar 2022 09:32:52 +0100 Message-ID: <7966787.UjTJXf6HLC@thomas> In-Reply-To: <21942374.BlLV05Wm1B@thomas> References: <20220125032545.7704-1-koncept1@gmail.com> <21942374.BlLV05Wm1B@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 22/02/2022 11:03, Thomas Monjalon: > 25/01/2022 04:25, Ben Magistro: > > Currently dumpcap tries to initialize dpdk before parsing command line > > arguments, this makes it impossible to check version or help without > > having the primary process running already. > > > > Signed-off-by: Ben Magistro > > --- > > --- a/app/dumpcap/main.c > > +++ b/app/dumpcap/main.c > > @@ -781,8 +781,8 @@ int main(int argc, char **argv) > > > > progname = argv[0]; > > > > - dpdk_init(); > > parse_opts(argc, argv); > > + dpdk_init(); > > Stephen, Reshma, any comment? Applied, thanks.