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

Message ID 20240822062417.1539925-1-rkudurumalla@marvell.com (mailing list archive)
State Changes Requested
Delegated to: Jerin Jacob
Headers
Series [1/1] common/cnxk: 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/intel-Functional success Functional PASS
ci/github-robot: build success github build: passed
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-marvell-Functional success Functional Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-unit-arm64-testing success Testing PASS
ci/iol-compile-amd64-testing success Testing PASS
ci/iol-unit-amd64-testing success Testing PASS
ci/iol-sample-apps-testing success Testing PASS
ci/iol-compile-arm64-testing success Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS

Commit Message

Rakesh Kudurumalla Aug. 22, 2024, 6:24 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

Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
---
 drivers/common/cnxk/roc_platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jerin Jacob Sept. 19, 2024, 6:09 p.m. UTC | #1
On Thu, Aug 22, 2024 at 12:03 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

Could you add Fixes:

And change subject to common/cnxk: fix ...


>
> Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
> ---
>  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 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);
> --
> 2.25.1
>
  

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);