[v2,1/1] common/cnxk: fix 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
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
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>
@@ -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);