common/cnxk: fix log level during MCAM allocation
PATCH 1/1 common/cnxk: fix log level during MCAM allocation
From: Satheesh Paul <[email protected]>
Changed log level from info to debug for a couple of log messages printed during MCAM allocation.
Fixes 1f66919817 ("common/cnxk: improve MCAM entries management")
Signed-off-by Satheesh Paul <[email protected]>
Reviewed-by Kiran Kumar Kokkilagadda <[email protected]>
--- drivers/common/cnxk/roc_npc_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/common/cnxk/roc_npc_utils.c +2 -2
@@ -664,14 +664,14 @@ npc_get_free_mcam_entry(struct mbox *mbox, struct roc_npc_flow *flow, new_entry->flow = flow; -plt_info ("npc: kernel allocated MCAM entry %d" , rsp_local.entry); +plt_npc_dbg ("kernel allocated MCAM entry %d" , rsp_local.entry); rc =npc_sort_mcams_by_user_prio_level (mbox, new_entry, npc, &rsp_local);if (rc) goto err; -plt_info ("npc: allocated MCAM entry after sorting %d" , rsp_local.entry); +plt_npc_dbg ("allocated MCAM entry after sorting %d" , rsp_local.entry); flow->mcam_id = rsp_local.entry;npc_insert_into_flow_list (npc, new_entry);
Signature · 1 line
2.25.4
Jerin Jacob
AppliedQuoted 10 lines · On Tue, Jan 25, 2022 at 9:46 AM <[email protected]> wrote:
From: Satheesh Paul <[email protected]>
Changed log level from info to debug for a couple of log messages printed during MCAM allocation.
Fixes 1f66919817 ("common/cnxk: improve MCAM entries management")Signed-off-by Satheesh Paul <[email protected]>Reviewed-by Kiran Kumar Kokkilagadda <[email protected]>
Applied to dpdk-next-net-mrvl/for-next-net. Thanks
Quoted 28 lines
--- drivers/common/cnxk/roc_npc_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/common/cnxk/roc_npc_utils.c +2
-3@@ -664,14 +664,14 @@ npc_get_free_mcam_entry(struct mbox *mbox, struct roc_npc_flow *flow, new_entry->flow = flow; -plt_info ("npc: kernel allocated MCAM entry %d" , rsp_local.entry); +plt_npc_dbg ("kernel allocated MCAM entry %d" , rsp_local.entry); rc =npc_sort_mcams_by_user_prio_level (mbox, new_entry, npc, &rsp_local);if (rc) goto err; -plt_info ("npc: allocated MCAM entry after sorting %d" , rsp_local.entry); +plt_npc_dbg ("allocated MCAM entry after sorting %d" , rsp_local.entry); flow->mcam_id = rsp_local.entry;npc_insert_into_flow_list (npc, new_entry); --2.25.4