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 154B1A034E; Tue, 22 Feb 2022 11:03:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B1D040DF6; Tue, 22 Feb 2022 11:03:10 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 6FF2740DF4 for ; Tue, 22 Feb 2022 11:03:09 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 16CB35C01AD; Tue, 22 Feb 2022 05:03:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 22 Feb 2022 05:03:09 -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=fm3; bh=Wlw+o507CYIseg 2SSOV5XnOq6OM+NN1RlEdY1zbJYdg=; b=PBhUSobMoibtyhuXQ6W6lnVmTiidtB Ww4OLCSgdfEFPNFE+xqijjId4pGm6EgQJYs3xAhBAQSKNhrnPXnjiM7Nr+EtAjIq /yJeC32u+D3ykCOzKiYmcm4bvL+ZKRetaMQWZGYo5dezC5u/VQTXXQF7w8AReWCR oGHBD4s7/FbUCAHitlPEdYVd37josqMpEcqxIoKwbrJOkhjW5499mgneNEDQgxNW fhKBipn2YEKfH6HhyngbAEtRqLkVPCZyb6yvqJl9rgPSolOGV7Ios30lHAWhFpTP zLdEGyFdJjEsIzR4FpBpSeg+s+W3sW/hhlvwslJXV70ryupnMPRK03+g== 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=Wlw+o507CYIseg2SSOV5XnOq6OM+NN1RlEdY1zbJY dg=; b=AAawu5kqpprIwNhvYDTXvSqdRRutiOaQDeI7jl3qHp+zVl5nVLuKkgQT4 9Egsp7pw0obxlEWbbw6R1hcK3dfgOo11s8zdy7nlmPfXgbv5JqnYrSnKRFFn7yO8 H2bTY2PShcTaWKhYgK+cK4l3XSSh00TuUAIEaNtSqZpwx/MXn/eqBXcvtQ2rnh3k JGxQAcCPHTuKQcGzNiYnLegfeo3gbV+DCEAcUOX0AS3A9G87Rht973YBOuSUwxM/ QOkemTznxYcvqbIEOPDC4zzPqaNjBLa7gmSVorx34bj7mjSnoQz2D7Wi27B0+jtY xNyIYRP7BTUv+all0J5uQ91kpec5A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkeekgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 22 Feb 2022 05:03:08 -0500 (EST) From: Thomas Monjalon To: ben.magistro@trinitycyber.com, stephen@networkplumber.org, Ben Magistro , Reshma Pattan Cc: dev@dpdk.org Subject: Re: [PATCH] app/dumpcap: allow help/version without primary process Date: Tue, 22 Feb 2022 11:03:06 +0100 Message-ID: <21942374.BlLV05Wm1B@thomas> In-Reply-To: <20220125032545.7704-1-koncept1@gmail.com> References: <20220125032545.7704-1-koncept1@gmail.com> 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 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?