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

Jerin Jacob jerinjacobk at gmail.com
Sat Aug 27 14:47:35 CEST 2022


On Tue, Jul 5, 2022 at 11:44 AM <psatheesh at marvell.com> wrote:
>
> 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>

Applied to dpdk-next-net-mrvl/for-next-net. Thanks



> ---
>  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