[1/1] common/cnxk: updated loglevel from NOTICE to INFO
Checks
Commit Message
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
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
>
@@ -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);