DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/i40e: reduce debug messages
@ 2026-04-14  5:26 Stephen Hemminger
  2026-04-16  8:13 ` Loftus, Ciara
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2026-04-14  5:26 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, stable, Bruce Richardson, Ciara Loftus

The driver logs normal things like choice of AVX at NOTICE level.
This shows up as unnecessary noise to regular users.

Bugzilla ID: 1936
Fixes: 3f24891594c1 ("net/i40e: use common Rx path selection infrastructure")
Fixes: 8d57c1788806 ("net/i40e: use common Tx path selection infrastructure")
Cc: stable@dpdk.org

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 drivers/net/intel/i40e/i40e_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/intel/i40e/i40e_rxtx.c b/drivers/net/intel/i40e/i40e_rxtx.c
index c5ac75e0f0..d00548ac89 100644
--- a/drivers/net/intel/i40e/i40e_rxtx.c
+++ b/drivers/net/intel/i40e/i40e_rxtx.c
@@ -3042,7 +3042,7 @@ i40e_set_rx_function(struct rte_eth_dev *dev)
 
 out:
 	dev->rx_pkt_burst = i40e_rx_path_infos[ad->rx_func_type].pkt_burst;
-	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
 			i40e_rx_path_infos[ad->rx_func_type].info, dev->data->port_id);
 }
 
@@ -3124,7 +3124,7 @@ i40e_set_tx_function(struct rte_eth_dev *dev)
 					 i40e_tx_path_infos[ad->tx_func_type].pkt_burst;
 	dev->tx_pkt_prepare = i40e_tx_path_infos[ad->tx_func_type].pkt_prep;
 
-	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
 		i40e_tx_path_infos[ad->tx_func_type].info, dev->data->port_id);
 
 	if (ad->tx_func_type == I40E_TX_SCALAR_SIMPLE ||
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH] net/i40e: reduce debug messages
  2026-04-14  5:26 [PATCH] net/i40e: reduce debug messages Stephen Hemminger
@ 2026-04-16  8:13 ` Loftus, Ciara
  2026-04-20 17:05   ` Bruce Richardson
  0 siblings, 1 reply; 4+ messages in thread
From: Loftus, Ciara @ 2026-04-16  8:13 UTC (permalink / raw)
  To: Stephen Hemminger, dev@dpdk.org; +Cc: stable@dpdk.org, Richardson, Bruce

> Subject: [PATCH] net/i40e: reduce debug messages
> 
> The driver logs normal things like choice of AVX at NOTICE level.
> This shows up as unnecessary noise to regular users.
> 
> Bugzilla ID: 1936
> Fixes: 3f24891594c1 ("net/i40e: use common Rx path selection
> infrastructure")
> Fixes: 8d57c1788806 ("net/i40e: use common Tx path selection
> infrastructure")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Ciara Loftus <ciara.loftus@intel.com>

> ---
>  drivers/net/intel/i40e/i40e_rxtx.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/intel/i40e/i40e_rxtx.c
> b/drivers/net/intel/i40e/i40e_rxtx.c
> index c5ac75e0f0..d00548ac89 100644
> --- a/drivers/net/intel/i40e/i40e_rxtx.c
> +++ b/drivers/net/intel/i40e/i40e_rxtx.c
> @@ -3042,7 +3042,7 @@ i40e_set_rx_function(struct rte_eth_dev *dev)
> 
>  out:
>  	dev->rx_pkt_burst = i40e_rx_path_infos[ad->rx_func_type].pkt_burst;
> -	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
> +	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
>  			i40e_rx_path_infos[ad->rx_func_type].info, dev-
> >data->port_id);
>  }
> 
> @@ -3124,7 +3124,7 @@ i40e_set_tx_function(struct rte_eth_dev *dev)
>  					 i40e_tx_path_infos[ad-
> >tx_func_type].pkt_burst;
>  	dev->tx_pkt_prepare = i40e_tx_path_infos[ad-
> >tx_func_type].pkt_prep;
> 
> -	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
> +	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
>  		i40e_tx_path_infos[ad->tx_func_type].info, dev->data-
> >port_id);
> 
>  	if (ad->tx_func_type == I40E_TX_SCALAR_SIMPLE ||
> --
> 2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] net/i40e: reduce debug messages
  2026-04-16  8:13 ` Loftus, Ciara
@ 2026-04-20 17:05   ` Bruce Richardson
  2026-04-20 17:20     ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Richardson @ 2026-04-20 17:05 UTC (permalink / raw)
  To: Loftus, Ciara; +Cc: Stephen Hemminger, dev@dpdk.org, stable@dpdk.org

On Thu, Apr 16, 2026 at 09:13:35AM +0100, Loftus, Ciara wrote:
> > Subject: [PATCH] net/i40e: reduce debug messages
> > 
> > The driver logs normal things like choice of AVX at NOTICE level.
> > This shows up as unnecessary noise to regular users.
> > 
> > Bugzilla ID: 1936
> > Fixes: 3f24891594c1 ("net/i40e: use common Rx path selection
> > infrastructure")
> > Fixes: 8d57c1788806 ("net/i40e: use common Tx path selection
> > infrastructure")
> > Cc: stable@dpdk.org
> > 
> > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> 
> Acked-by: Ciara Loftus <ciara.loftus@intel.com>
> 

As with the other patchset changing the log level of these messages, I'm
not convinced they are bugs as-such. However, since we have a bugzilla I'm
keeping the fixes-lines. Dropping the cc to stable, though, as we don't
need this backported.

Applied to dpdk-next-net-intel,
Thanks,
/Bruce

> > ---
> >  drivers/net/intel/i40e/i40e_rxtx.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/net/intel/i40e/i40e_rxtx.c
> > b/drivers/net/intel/i40e/i40e_rxtx.c
> > index c5ac75e0f0..d00548ac89 100644
> > --- a/drivers/net/intel/i40e/i40e_rxtx.c
> > +++ b/drivers/net/intel/i40e/i40e_rxtx.c
> > @@ -3042,7 +3042,7 @@ i40e_set_rx_function(struct rte_eth_dev *dev)
> > 
> >  out:
> >  	dev->rx_pkt_burst = i40e_rx_path_infos[ad->rx_func_type].pkt_burst;
> > -	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
> > +	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
> >  			i40e_rx_path_infos[ad->rx_func_type].info, dev-
> > >data->port_id);
> >  }
> > 
> > @@ -3124,7 +3124,7 @@ i40e_set_tx_function(struct rte_eth_dev *dev)
> >  					 i40e_tx_path_infos[ad-
> > >tx_func_type].pkt_burst;
> >  	dev->tx_pkt_prepare = i40e_tx_path_infos[ad-
> > >tx_func_type].pkt_prep;
> > 
> > -	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
> > +	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
> >  		i40e_tx_path_infos[ad->tx_func_type].info, dev->data-
> > >port_id);
> > 
> >  	if (ad->tx_func_type == I40E_TX_SCALAR_SIMPLE ||
> > --
> > 2.53.0
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] net/i40e: reduce debug messages
  2026-04-20 17:05   ` Bruce Richardson
@ 2026-04-20 17:20     ` Stephen Hemminger
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2026-04-20 17:20 UTC (permalink / raw)
  To: Bruce Richardson; +Cc: Loftus, Ciara, dev@dpdk.org, stable@dpdk.org

On Mon, 20 Apr 2026 18:05:04 +0100
Bruce Richardson <bruce.richardson@intel.com> wrote:

> On Thu, Apr 16, 2026 at 09:13:35AM +0100, Loftus, Ciara wrote:
> > > Subject: [PATCH] net/i40e: reduce debug messages
> > > 
> > > The driver logs normal things like choice of AVX at NOTICE level.
> > > This shows up as unnecessary noise to regular users.
> > > 
> > > Bugzilla ID: 1936
> > > Fixes: 3f24891594c1 ("net/i40e: use common Rx path selection
> > > infrastructure")
> > > Fixes: 8d57c1788806 ("net/i40e: use common Tx path selection
> > > infrastructure")
> > > Cc: stable@dpdk.org
> > > 
> > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>  
> > 
> > Acked-by: Ciara Loftus <ciara.loftus@intel.com>
> >   
> 
> As with the other patchset changing the log level of these messages, I'm
> not convinced they are bugs as-such. However, since we have a bugzilla I'm
> keeping the fixes-lines. Dropping the cc to stable, though, as we don't
> need this backported.
> 
> Applied to dpdk-next-net-intel,
> Thanks,
> /Bruce

I just want programs like dumpcap not to get spammed with noise.
Certainly not worth back porting.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-20 17:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-14  5:26 [PATCH] net/i40e: reduce debug messages Stephen Hemminger
2026-04-16  8:13 ` Loftus, Ciara
2026-04-20 17:05   ` Bruce Richardson
2026-04-20 17:20     ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox