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 2207BA0A02; Wed, 24 Mar 2021 10:45:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 945D64067B; Wed, 24 Mar 2021 10:45:15 +0100 (CET) Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by mails.dpdk.org (Postfix) with ESMTP id C99694014F for ; Wed, 24 Mar 2021 10:45:13 +0100 (CET) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20210324094512euoutp02952977edff25c22d4b19ee3ae4e43de8~vPiNO-CzE0241102411euoutp02S for ; Wed, 24 Mar 2021 09:45:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20210324094512euoutp02952977edff25c22d4b19ee3ae4e43de8~vPiNO-CzE0241102411euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1616579112; bh=GRVw4fha26FcBRxj+BwZheJ5xdD+ILvkR/o+os5T4Y4=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=RJIhjvbSF+iclrXY9XQ7CStqdiNIWqWmRmef1JTprnffU4cGPmyEkgN3uwyyte5/W 9ira03znjshGmLUjsb70hZwzsnxhIbQO8MRaLb5bKh5QDNAY2nFFGgWk/FWoKYXmKJ hfmBXvYhg8XbkR+ZbcFjnWjf71+ld1VdajTvHaEM= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20210324094512eucas1p2447599336618d485b4099787dd5dea96~vPiNC9K-32425624256eucas1p2u; Wed, 24 Mar 2021 09:45:12 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 0C.B1.09452.82A0B506; Wed, 24 Mar 2021 09:45:12 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210324094511eucas1p1360303ef7bc1a3daa6794a358eb93b36~vPiMl0WiF3241032410eucas1p1_; Wed, 24 Mar 2021 09:45:11 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210324094511eusmtrp1c3f807d857f8ed0c1f5e199b9c7a3092~vPiMk9N5h1587615876eusmtrp19; Wed, 24 Mar 2021 09:45:11 +0000 (GMT) X-AuditID: cbfec7f2-a9fff700000024ec-fb-605b0a283979 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 0A.19.08696.72A0B506; Wed, 24 Mar 2021 09:45:11 +0000 (GMT) Received: from [106.210.134.142] (unknown [106.210.134.142]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20210324094508eusmtip127aa828e73f59b1e4d585f872487667e~vPiJtwkdD0681906819eusmtip14; Wed, 24 Mar 2021 09:45:08 +0000 (GMT) To: Thomas Monjalon , David Marchand Cc: dev@dpdk.org, stable@dpdk.org, arybchenko@solarflare.com, Bruce Richardson , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Keith Wiles , Ranjit Menon From: Lukasz Wojciechowski Message-ID: Date: Wed, 24 Mar 2021 10:45:08 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <8103139.y0Sj0rxJEU@thomas> Content-Transfer-Encoding: 8bit Content-Language: en-US X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEKsWRmVeSWpSXmKPExsWy7djP87oaXNEJBk8Wilo8mHKXzeLGKnuL 7Su62CzefdrOZPH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52xURNKqEu7tYSiPf9LD9rNv2/MEj+dLbzwVTDgd8tJP 22tfsBJLcUaioRZzUXEiAO+YmhloAwAA X-CMS-MailID: 20210324094511eucas1p1360303ef7bc1a3daa6794a358eb93b36 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20210323155413eucas1p27fd7559caee8365058495674d6b52698 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20210323155413eucas1p27fd7559caee8365058495674d6b52698 References: <20200626114751.22523-1-david.marchand@redhat.com> <20210323101928.2403-1-david.marchand@redhat.com> <20210323101928.2403-4-david.marchand@redhat.com> <8103139.y0Sj0rxJEU@thomas> Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH 3/3] eal: fix evaluation of log level option 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 Sender: "dev" W dniu 23.03.2021 o 16:54, Thomas Monjalon pisze: > 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 > > Acked-by: Lukasz Wojciechowski Tested-by: Lukasz Wojciechowski -- Lukasz Wojciechowski Principal Software Engineer Samsung R&D Institute Poland Samsung Electronics Office +48 22 377 88 25 l.wojciechow@partner.samsung.com