[1/2] qede: reduce trace verbosity level

Message ID 20210221111637.31193-2-irusskikh@marvell.com (mailing list archive)
State Changes Requested, archived
Delegated to: Jerin Jacob
Headers
Series qede: 2020-02 minor fixes |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Igor Russkikh Feb. 21, 2021, 11:16 a.m. UTC
  On some hardware units it was found this trace is flooding the output,
making any dpdk interactive usage kind of problematic.

It is only informational, without any consequences handling, so reducing
it to verbose from explicit notice level.

CC: stable@dpdk.org
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
---
 drivers/net/qede/base/ecore_int.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Devendra Singh Rawat March 11, 2021, 9:13 a.m. UTC | #1
> -----Original Message-----
> From: Igor Russkikh <irusskikh@marvell.com>
> Sent: Sunday, February 21, 2021 4:47 PM
> To: dev@dpdk.org
> Cc: Rasesh Mody <rmody@marvell.com>; Devendra Singh Rawat
> <dsinghrawat@marvell.com>; Igor Russkikh <irusskikh@marvell.com>;
> stable@dpdk.org
> Subject: [PATCH 1/2] qede: reduce trace verbosity level
> 
> On some hardware units it was found this trace is flooding the output, making
> any dpdk interactive usage kind of problematic.
> 
> It is only informational, without any consequences handling, so reducing it to
> verbose from explicit notice level.
> 
> CC: stable@dpdk.org
> Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
> ---
>  drivers/net/qede/base/ecore_int.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/qede/base/ecore_int.c
> b/drivers/net/qede/base/ecore_int.c
> index 4207b1853..2c4aac941 100644
> --- a/drivers/net/qede/base/ecore_int.c
> +++ b/drivers/net/qede/base/ecore_int.c
> @@ -928,7 +928,7 @@ static void ecore_int_attn_print(struct ecore_hwfn
> *p_hwfn,
>  				 bool b_clear)
>  {
>  	/* @DPDK */
> -	DP_NOTICE(p_hwfn->p_dev, false, "[block_id %d type %d]\n", id,
> type);
> +	DP_VERBOSE(p_hwfn, ECORE_MSG_INTR, "[block_id %d type %d]\n",
> id,
> +type);
>  }
> 
>  /**
> --
> 2.25.1

ACK,
Acked-by: Devendra Singh Rawat <dsinghrawat@marvell.com>

Thanks,
Devendra
  

Patch

diff --git a/drivers/net/qede/base/ecore_int.c b/drivers/net/qede/base/ecore_int.c
index 4207b1853..2c4aac941 100644
--- a/drivers/net/qede/base/ecore_int.c
+++ b/drivers/net/qede/base/ecore_int.c
@@ -928,7 +928,7 @@  static void ecore_int_attn_print(struct ecore_hwfn *p_hwfn,
 				 bool b_clear)
 {
 	/* @DPDK */
-	DP_NOTICE(p_hwfn->p_dev, false, "[block_id %d type %d]\n", id, type);
+	DP_VERBOSE(p_hwfn, ECORE_MSG_INTR, "[block_id %d type %d]\n", id, type);
 }
 
 /**