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 E3E30A0A0A for ; Tue, 23 Mar 2021 16:54:12 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2C8A140F62; Tue, 23 Mar 2021 16:54:12 +0100 (CET) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by mails.dpdk.org (Postfix) with ESMTP id 92D0F140F5C; Tue, 23 Mar 2021 16:54:09 +0100 (CET) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id F1A3F580C45; Tue, 23 Mar 2021 11:54:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 23 Mar 2021 11:54:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= nTBAvRsVs1CQNtl6Qm3pKvlYK06X6SuVXdOoSOIgViM=; b=v40jCMAdfZ0VDsw8 oHCJofumMMvyHMLAf/oBNxHOfFBIE+9WLhnH8/+cnb/wPB7S/xZpWE4kfMwIklxq ZLCvNbH5AziIpciMO5q/vvbbq1u8VpOC5icB5LLpm9GtYq9Pp1cvYDyNM8obVj8V VTMi4irOt198irUtrkzk7vIx++RV9NyxYG2cB4gtjpKdJo3qBR9Y8h+EzGdZ9ywm j7KDqiVtM6SHrSSM+MCl8U1F8VlOQohnUX+wyJhPe5LamFCMYF7h2k3tu6PynEHx UaxQ5BpBskrOsTTABKUr7q2ETuHM+Qm/1NtLaT+J8fy2Sy/N6SIi+YjT6pZu51bs D0JrvA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=nTBAvRsVs1CQNtl6Qm3pKvlYK06X6SuVXdOoSOIgV iM=; b=RtToLD4WT9BWqiU3RiCP4iwO0Ebz126pKjAEWLYkoaQuTPfUUKKYqfH4c 1Wkmq1CHj1LqXmcWDYClkflpaWb2GWvxwLsbFlBZYD+4uvyAtdbph165VyU6f0sb HC8hoa883rT1qxGTXvVSxmhfcNQ5STPFj72/4bKW8KIIYKG/iYjVQViQXxyIjvVz w2dG9YqWGAfmlx7Ec3AseUrVursHqJ1zNqk7mDPpb+98B7MqhZuQ1rMv8oRBpXf/ MQUaKsp5x0CGAIW7OHVhQdU0FXmhFr5IuT2xd+xgq0V3FYHgoG3sDVsLOy25Vy82 LQCf+QhO+CK0hEcrKnTwalQXCvwsg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudegiedgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2B8241080063; Tue, 23 Mar 2021 11:54:06 -0400 (EDT) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, stable@dpdk.org, arybchenko@solarflare.com, l.wojciechow@partner.samsung.com, Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Keith Wiles , Ranjit Menon Date: Tue, 23 Mar 2021 16:54:04 +0100 Message-ID: <8103139.y0Sj0rxJEU@thomas> In-Reply-To: <20210323101928.2403-4-david.marchand@redhat.com> References: <20200626114751.22523-1-david.marchand@redhat.com> <20210323101928.2403-1-david.marchand@redhat.com> <20210323101928.2403-4-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [PATCH 3/3] eal: fix evaluation of log level option X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 23/03/2021 11:19, David Marchand: > --log-level option is handled early, no need to reevaluate it later in > EAL init. > > Before: > $ echo quit | ./build/app/test/dpdk-test --no-huge -m 512 \ > --log-level=lib.eal:debug \ > --log-level=lib.ethdev:debug --log-level=lib.ethdev:info \ > |& grep -i logtype.level > > EAL: lib.eal logtype level changed from info to debug > EAL: lib.ethdev logtype level changed from info to debug > EAL: lib.ethdev logtype level changed from debug to info > EAL: lib.ethdev logtype level changed from info to debug > EAL: lib.ethdev logtype level changed from debug to info > > After: > $ echo quit | ./build/app/test/dpdk-test --no-huge -m 512 \ > --log-level=lib.eal:debug \ > --log-level=lib.ethdev:debug --log-level=lib.ethdev:info \ > |& grep -i logtype.level > > EAL: lib.eal logtype level changed from info to debug > EAL: lib.ethdev logtype level changed from info to debug > EAL: lib.ethdev logtype level changed from debug to info > > Fixes: 6c7216eefd63 ("eal: fix log level of early messages") > Fixes: 1c806ae5c3ac ("eal/windows: support command line options parsing") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand Acked-by: Thomas Monjalon