[dpdk-dev] [PATCH] common/cnxk: fix log level during MCAM allocation

psatheesh at marvell.com psatheesh at marvell.com
Tue Jul 5 08:13:56 CEST 2022


From: Satheesh Paul <psatheesh at marvell.com>

Changed log level from info to debug for a log message
printed during MCAM allocation.

Fixes: 1f66919817ee ("common/cnxk: improve MCAM entries management")
Cc: stable at dpdk.org

Signed-off-by: Satheesh Paul <psatheesh at marvell.com>
Reviewed-by: Kiran Kumar Kokkilagadda <kirankumark at marvell.com>
---
 drivers/common/cnxk/roc_npc_utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/cnxk/roc_npc_utils.c b/drivers/common/cnxk/roc_npc_utils.c
index cbc6200fec..8bdabc116d 100644
--- a/drivers/common/cnxk/roc_npc_utils.c
+++ b/drivers/common/cnxk/roc_npc_utils.c
@@ -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



More information about the stable mailing list