[v2,1/1] common/cnxk: fix updated loglevel from NOTICE to INFO

Message ID 20241001084710.608200-1-rkudurumalla@marvell.com (mailing list archive)
State Accepted, archived
Delegated to: Jerin Jacob
Headers
Series [v2,1/1] common/cnxk: fix updated loglevel from NOTICE to INFO |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/loongarch-compilation success Compilation OK
ci/loongarch-unit-testing success Unit Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/github-robot: build success github build: passed
ci/intel-Functional success Functional PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-marvell-Functional success Functional Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-sample-apps-testing success Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-compile-arm64-testing success Testing PASS

Commit Message

Rakesh Kudurumalla Oct. 1, 2024, 8:47 a.m. UTC
In latest dpdk 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: 455a771fd6f1 ("common/cnxk: fix segregation of logs based on module")

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
---
V2: Addressed comments and added fixes

 drivers/common/cnxk/roc_platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jerin Jacob Oct. 3, 2024, 10:17 a.m. UTC | #1
On Tue, Oct 1, 2024 at 2:24 PM Rakesh Kudurumalla
<rkudurumalla@marvell.com> wrote:
>
> In latest dpdk 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: 455a771fd6f1 ("common/cnxk: fix segregation of logs based on module")
>
> Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>

Updated the git commit as follows and applied to
dpdk-next-net-mrvl/for-main. Thanks

    common/cnxk: fix loglevel from NOTICE to INFO

    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")
    Cc: stable@dpdk.org

    Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
  

Patch

diff --git a/drivers/common/cnxk/roc_platform.c b/drivers/common/cnxk/roc_platform.c
index 30379c7e5e..f1e0a93d97 100644
--- a/drivers/common/cnxk/roc_platform.c
+++ b/drivers/common/cnxk/roc_platform.c
@@ -85,7 +85,7 @@  roc_plt_init(void)
 	return 0;
 }
 
-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);