* [dpdk-dev] [PATCH] common/cnxk: fix log level during MCAM allocation
@ 2022-01-25 4:16 psatheesh
2022-02-17 7:21 ` Jerin Jacob
0 siblings, 1 reply; 4+ messages in thread
From: psatheesh @ 2022-01-25 4:16 UTC (permalink / raw)
To: Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori, Satha Rao
Cc: dev, Satheesh Paul
From: Satheesh Paul <psatheesh@marvell.com>
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 <psatheesh@marvell.com>
Reviewed-by: Kiran Kumar Kokkilagadda <kirankumark@marvell.com>
---
drivers/common/cnxk/roc_npc_utils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk/roc_npc_utils.c b/drivers/common/cnxk/roc_npc_utils.c
index ed0ef5c462..26e104c39f 100644
--- a/drivers/common/cnxk/roc_npc_utils.c
+++ b/drivers/common/cnxk/roc_npc_utils.c
@@ -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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] common/cnxk: fix log level during MCAM allocation
2022-01-25 4:16 [dpdk-dev] [PATCH] common/cnxk: fix log level during MCAM allocation psatheesh
@ 2022-02-17 7:21 ` Jerin Jacob
0 siblings, 0 replies; 4+ messages in thread
From: Jerin Jacob @ 2022-02-17 7:21 UTC (permalink / raw)
To: Satheesh Paul, Ferruh Yigit
Cc: Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori, Satha Rao, dpdk-dev
On Tue, Jan 25, 2022 at 9:46 AM <psatheesh@marvell.com> wrote:
>
> From: Satheesh Paul <psatheesh@marvell.com>
>
> 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 <psatheesh@marvell.com>
> Reviewed-by: Kiran Kumar Kokkilagadda <kirankumark@marvell.com>
Applied to dpdk-next-net-mrvl/for-next-net. Thanks
> ---
> drivers/common/cnxk/roc_npc_utils.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/common/cnxk/roc_npc_utils.c b/drivers/common/cnxk/roc_npc_utils.c
> index ed0ef5c462..26e104c39f 100644
> --- a/drivers/common/cnxk/roc_npc_utils.c
> +++ b/drivers/common/cnxk/roc_npc_utils.c
> @@ -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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] [PATCH] common/cnxk: fix log level during MCAM allocation
2022-07-05 6:13 psatheesh
@ 2022-08-27 12:47 ` Jerin Jacob
0 siblings, 0 replies; 4+ messages in thread
From: Jerin Jacob @ 2022-08-27 12:47 UTC (permalink / raw)
To: Satheesh Paul
Cc: Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori, Satha Rao,
dpdk-dev, dpdk stable
On Tue, Jul 5, 2022 at 11:44 AM <psatheesh@marvell.com> wrote:
>
> From: Satheesh Paul <psatheesh@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@dpdk.org
>
> Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
> Reviewed-by: Kiran Kumar Kokkilagadda <kirankumark@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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [dpdk-dev] [PATCH] common/cnxk: fix log level during MCAM allocation
@ 2022-07-05 6:13 psatheesh
2022-08-27 12:47 ` Jerin Jacob
0 siblings, 1 reply; 4+ messages in thread
From: psatheesh @ 2022-07-05 6:13 UTC (permalink / raw)
To: Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori, Satha Rao
Cc: dev, Satheesh Paul, stable
From: Satheesh Paul <psatheesh@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@dpdk.org
Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
Reviewed-by: Kiran Kumar Kokkilagadda <kirankumark@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-27 12:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25 4:16 [dpdk-dev] [PATCH] common/cnxk: fix log level during MCAM allocation psatheesh
2022-02-17 7:21 ` Jerin Jacob
2022-07-05 6:13 psatheesh
2022-08-27 12:47 ` Jerin Jacob
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).