Skip to contentSkip to conversation

common/cnxk: fix log level during MCAM allocation

PATCH Applied [email protected] 2 participants 2 messages Jul 5, 2022 – Aug 27, 2022

lore
Share & tools
lore
#0 lore raw

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")
---
 drivers/common/cnxk/roc_npc_utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/common/cnxk/roc_npc_utils.c +1 -1
index cbc6200fec..8bdabc116d 100644
@@ -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
Applied
#1 lore raw
Quoted 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")

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
index cbc6200fec..8bdabc116d 100644
@@ -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