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 log message printed during MCAM allocation.
Fixes 1f66919817ee ("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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/common/cnxk/roc_npc_utils.c +1 -1
@@ -635,7 +635,7 @@ npc_alloc_mcam_by_ref_entry(struct mbox *mbox, struct roc_npc_flow *flow,npc_find_mcam_ref_entry (flow, npc, &prio, &ref_entry, dir); rc =npc_allocate_mcam_entry (mbox, prio, rsp_local, ref_entry);if (rc && !retry_done) { -plt_info ( +plt_npc_dbg ("npc: Failed to allocate lower priority entry. Retrying for higher priority" ); dir =NPC_MCAM_HIGHER_PRIO ;
Signature · 1 line
2.35.3
Jerin Jacob
AppliedQuoted 11 lines · On Tue, Jul 5, 2022 at 11:44 AM <[email protected]> wrote:
From: Satheesh Paul <[email protected]>
Changed log level from info to debug for a log message printed during MCAM allocation.
Fixes 1f66919817ee ("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 20 lines
--- drivers/common/cnxk/roc_npc_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/common/cnxk/roc_npc_utils.c +1
-2@@ -635,7 +635,7 @@ npc_alloc_mcam_by_ref_entry(struct mbox *mbox, struct roc_npc_flow *flow,npc_find_mcam_ref_entry (flow, npc, &prio, &ref_entry, dir); rc =npc_allocate_mcam_entry (mbox, prio, rsp_local, ref_entry);if (rc && !retry_done) { -plt_info ( +plt_npc_dbg ("npc: Failed to allocate lower priority entry. Retrying for higher priority" ); dir =NPC_MCAM_HIGHER_PRIO ; --2.35.3