> 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: [email protected]
> 
> Signed-off-by: Stephen Hemminger <[email protected]>

Acked-by: Ciara Loftus <[email protected]>

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

Reply via email to