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 00C0545BB6 for ; Wed, 23 Oct 2024 23:18:47 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EF3E440261; Wed, 23 Oct 2024 23:18:46 +0200 (CEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mails.dpdk.org (Postfix) with ESMTP id 3E8E0432A4 for ; Wed, 23 Oct 2024 23:18:46 +0200 (CEST) Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-4315baa51d8so2171045e9.0 for ; Wed, 23 Oct 2024 14:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729718326; x=1730323126; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lXJbXwcCF1DpSbrztru71gthXpPY0HZnflk4nV8+LOs=; b=DS6Tuo90YPd3DdtabU6lSeLznvVb6tCUI74OvM9X5K4JXciw8SLPuTS8TcBX3zLGP7 0tN08P4r0NudFcOojAiVI0KIAQWSm7dx4+1m9u6uWLwQ5JF1QsU57ociuK3oP2PYNO08 SRgDAOvtfGOjmys1Lu6yiCdUGXqs4nLK9uSQt+yddTSOphGTpkAicaS86wxsq4TesQ92 JxNE5gB8VjNRNTb61HOYAdHqXuaYhSEglUuVY386Xy8Cv6q64F0J8LWtjbfpjD0PThZB CN/DdUkAucTTuZj2iCzTPCFGmBOWZKomq1nqQ0Dmg8lsmvhWM2zFcXVs1yxoFiuM/2zg nE6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729718326; x=1730323126; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lXJbXwcCF1DpSbrztru71gthXpPY0HZnflk4nV8+LOs=; b=MM18a9LpGUd1U1qHSi7A4ewdLyhAcPj5lpGskHD90b37/JJ8AMMwFYFxcjMLinMye3 8+b6UgAclnVFEaDVTDbkAjE+Ayo9GLwOOmxSuGnkyODY7a3g8e+S0ddWYDEoch2A6noB /Z6UYk83KqRD9M01E6ynXXog3NUSIW8Sox3AuAcMnjfQ0bmNCzZLJkjj5sjTabdiUoao Y+tFICeWsjKpTFkzL+CacgxXVTIcdJKxq8E6pCYe+BC9E5vWKPiTyMjuexR82SL530ne Fmb/Xy+i2L2KwwAPZiuMipZQ3iFIPw9ytkxLmnSGFeMzr2DicoUfRIhDbR9lK9bG8D68 S4rw== X-Gm-Message-State: AOJu0YwF5o691wDD1Xrp6nCDsC14wnBCFYoyyc4MY4irBnHJM/SloGY1 yi1U0psgnzIAOnJlWYHKQ3iG1SdK4syfqcdFsGPMwCQpdI9Ms5x/roK6XQ== X-Google-Smtp-Source: AGHT+IHV1+V3whoFYMAFilGo1Hi01F2rtRCbC0uVZ63oKm4MBvFAUgBswKJQ6PqTcO6e3qLXYaz+4Q== X-Received: by 2002:a05:600c:45cb:b0:42f:8515:e490 with SMTP id 5b1f17b1804b1-431841341e2mr32969165e9.5.1729718325662; Wed, 23 Oct 2024 14:18:45 -0700 (PDT) Received: from localhost ([2a01:4b00:d036:ae00:21cd:def0:a01d:d2aa]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43186bdba62sm26754535e9.19.2024.10.23.14.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 14:18:45 -0700 (PDT) From: luca.boccassi@gmail.com To: Rakesh Kudurumalla Cc: dpdk stable Subject: patch 'common/cnxk: fix base log level' has been queued to stable release 22.11.7 Date: Wed, 23 Oct 2024 22:16:07 +0100 Message-ID: <20241023211704.1216956-27-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241023211704.1216956-1-luca.boccassi@gmail.com> References: <20241023211704.1216956-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 22.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/25/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/5c7ce1ed01c4faab7e78e3435f33f3bebfd5fcbc Thanks. Luca Boccassi --- >From 5c7ce1ed01c4faab7e78e3435f33f3bebfd5fcbc Mon Sep 17 00:00:00 2001 From: Rakesh Kudurumalla Date: Tue, 1 Oct 2024 14:17:10 +0530 Subject: [PATCH] common/cnxk: fix base log level [ upstream commit adc561fc5352bd1f1c8e736a33bb9b03bbb95b3f ] In a247fcd94598 changeset, the PMD log type is removed and driver specific log type is added for CNXK. This patch changes loglevel of CNXK from NOTICE to INFO to display logs while running applications Fixes: a247fcd94598 ("drivers: use dedicated log macros instead of PMD logtype") Signed-off-by: Rakesh Kudurumalla --- drivers/common/cnxk/roc_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_platform.c b/drivers/common/cnxk/roc_platform.c index ce0f9b870c..963b74ee7c 100644 --- a/drivers/common/cnxk/roc_platform.c +++ b/drivers/common/cnxk/roc_platform.c @@ -60,7 +60,7 @@ roc_plt_init(void) return 0; } -RTE_LOG_REGISTER(cnxk_logtype_base, pmd.cnxk.base, NOTICE); +RTE_LOG_REGISTER(cnxk_logtype_base, pmd.cnxk.base, INFO); RTE_LOG_REGISTER(cnxk_logtype_mbox, pmd.cnxk.mbox, NOTICE); RTE_LOG_REGISTER(cnxk_logtype_cpt, pmd.crypto.cnxk, NOTICE); RTE_LOG_REGISTER(cnxk_logtype_npa, pmd.mempool.cnxk, NOTICE); -- 2.45.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-10-23 22:16:41.553975373 +0100 +++ 0027-common-cnxk-fix-base-log-level.patch 2024-10-23 22:16:40.459941185 +0100 @@ -1 +1 @@ -From adc561fc5352bd1f1c8e736a33bb9b03bbb95b3f Mon Sep 17 00:00:00 2001 +From 5c7ce1ed01c4faab7e78e3435f33f3bebfd5fcbc Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit adc561fc5352bd1f1c8e736a33bb9b03bbb95b3f ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 30379c7e5e..f1e0a93d97 100644 +index ce0f9b870c..963b74ee7c 100644 @@ -23 +24 @@ -@@ -85,7 +85,7 @@ roc_plt_init(void) +@@ -60,7 +60,7 @@ roc_plt_init(void) @@ -27,5 +28,5 @@ --RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_base, base, NOTICE); -+RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_base, base, INFO); - RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_mbox, mbox, NOTICE); - RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_cpt, crypto, NOTICE); - RTE_LOG_REGISTER_SUFFIX(cnxk_logtype_ml, ml, NOTICE); +-RTE_LOG_REGISTER(cnxk_logtype_base, pmd.cnxk.base, NOTICE); ++RTE_LOG_REGISTER(cnxk_logtype_base, pmd.cnxk.base, INFO); + RTE_LOG_REGISTER(cnxk_logtype_mbox, pmd.cnxk.mbox, NOTICE); + RTE_LOG_REGISTER(cnxk_logtype_cpt, pmd.crypto.cnxk, NOTICE); + RTE_LOG_REGISTER(cnxk_logtype_npa, pmd.mempool.cnxk, NOTICE);