Skip to contentSkip to conversation

net/i40e: reduce debug messages

PATCH Applied Stephen Hemminger 3 participants 4 messages Apr 14 – Apr 20 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 drivers/net/intel/i40e/i40e_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/i40e/i40e_rxtx.c +2 -2
index c5ac75e0f0..d00548ac89 100644
@@ -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 ||
Signature · 1 line
2.53.0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines

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.

Quoted 8 lines

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]

Quoted 33 lines
---
 drivers/net/intel/i40e/i40e_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/i40e/i40e_rxtx.c +2 -2
index c5ac75e0f0..d00548ac89 100644
@@ -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-
Quoted 1 line

port_id);

if (ad->tx_func_type == I40E_TX_SCALAR_SIMPLE ||
--
2.53.0

#2 lore raw
Quoted 12 lines · Ciara
Quoted 12 lines

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]

Quoted 4 lines
Quoted 1 line

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

Quoted 34 lines
Quoted 33 lines
---
 drivers/net/intel/i40e/i40e_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/i40e/i40e_rxtx.c +2 -2
index c5ac75e0f0..d00548ac89 100644
@@ -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-
Quoted 1 line

port_id);

if (ad->tx_func_type == I40E_TX_SCALAR_SIMPLE ||
--
2.53.0

#3 lore raw
Quoted 18 lines · On Mon, 20 Apr 2026 18:05:04 +0100 Bruce Richardson…
Quoted 12 lines · Ciara
Quoted 12 lines

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]

Quoted 4 lines
Quoted 1 line
Quoted 8 lines

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.