Skip to contentSkip to conversation

net/intel: demote path selection logs from NOTICE to DEBUG

PATCH Applied Shaiq Wani 2 participants 6 messages Apr 20 Network drivers

lore
Share & tools
lore

Shaiq Wani

author
#0 lore raw

cover net/intel: demote path selection logs from NOTICE to DEBUG

Demote Rx/Tx path selection messages from NOTICE to DEBUG level to reduce noise across ice, iavf, idpf and cpfl drivers.

Shaiq Wani (4):
net/ice: demote path selection logs from NOTICE to DEBUG net/iavf: demote path selection logs from NOTICE to DEBUG net/idpf: demote path selection logs from NOTICE to DEBUG net/cpfl: demote path selection logs from NOTICE to DEBUG

 drivers/net/intel/cpfl/cpfl_rxtx.c | 4 ++--
 drivers/net/intel/iavf/iavf_rxtx.c | 4 ++--
 drivers/net/intel/ice/ice_rxtx.c   | 4 ++--
 drivers/net/intel/idpf/idpf_rxtx.c | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH 1/4 net/ice: demote path selection logs from NOTICE to DEBUG

Demote Rx/Tx path selection messages from NOTICE to DEBUG level to reduce noise.

Fixes 872b57178709 ("net/ice: use common Rx path selection infrastructure")
Fixes cf96ec231d02 ("net/ice: use common Tx path selection infrastructure")
---
 drivers/net/intel/ice/ice_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/ice/ice_rxtx.c +2 -2
index 31b74be9ba..5edbd705a3 100644
@@ -3408,7 +3408,7 @@ ice_set_rx_function(struct rte_eth_dev *dev)
 
 out:
 	dev->rx_pkt_burst = ice_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).",
 			ice_rx_path_infos[ad->rx_func_type].info, dev->data->port_id);
 }
 
@@ -3735,7 +3735,7 @@ ice_set_tx_function(struct rte_eth_dev *dev)
 	dev->tx_pkt_burst = mbuf_check ? ice_xmit_pkts_check :
 					 ice_tx_path_infos[ad->tx_func_type].pkt_burst;
 	dev->tx_pkt_prepare = ice_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).",
 		ice_tx_path_infos[ad->tx_func_type].info, dev->data->port_id);
 }
 
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH 2/4 net/iavf: demote path selection logs from NOTICE to DEBUG

In reply to Shaiq Wani

Demote Rx/Tx path selection messages from NOTICE to DEBUG level to reduce noise.

Fixes 91e3205d72d8 ("net/iavf: use common Rx path selection infrastructure")
Fixes ebcfb039afa8 ("net/iavf: use common Tx path selection infrastructure")
---
 drivers/net/intel/iavf/iavf_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/iavf/iavf_rxtx.c +2 -2
index 4ff6c18dc4..3d9b49efd0 100644
@@ -3856,7 +3856,7 @@ iavf_set_rx_function(struct rte_eth_dev *dev)
 	else
 		dev->rx_pkt_burst = iavf_rx_path_infos[adapter->rx_func_type].pkt_burst;
 
-	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
 		iavf_rx_path_infos[adapter->rx_func_type].info, dev->data->port_id);
 }
 
@@ -3923,7 +3923,7 @@ iavf_set_tx_function(struct rte_eth_dev *dev)
 	else
 		dev->tx_pkt_burst = iavf_tx_path_infos[adapter->tx_func_type].pkt_burst;
 
-	PMD_DRV_LOG(NOTICE, "Using %s (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s (port %d).",
 		 iavf_tx_path_infos[adapter->tx_func_type].info, dev->data->port_id);
 }
 
Signature · 1 line
2.43.0
author
#3 lore raw

PATCH 3/4 net/idpf: demote path selection logs from NOTICE to DEBUG

In reply to Shaiq Wani

Demote Rx/Tx path selection messages from NOTICE to DEBUG level to reduce noise.

Fixes 12b1c2901761 ("net/idpf: use common Rx path selection infrastructure")
Fixes 7cab7e67363a ("net/idpf: use common Tx path selection infrastructure")
---
 drivers/net/intel/idpf/idpf_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/idpf/idpf_rxtx.c +2 -2
index b316c77b62..20cfc3a506 100644
@@ -835,7 +835,7 @@ idpf_set_rx_function(struct rte_eth_dev *dev)
 
 out:
 	dev->rx_pkt_burst = idpf_rx_path_infos[ad->rx_func_type].pkt_burst;
-	PMD_DRV_LOG(NOTICE, "Using %s Rx (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s Rx (port %d).",
 			idpf_rx_path_infos[ad->rx_func_type].info, dev->data->port_id);
 
 }
@@ -902,6 +902,6 @@ idpf_set_tx_function(struct rte_eth_dev *dev)
 out:
 	dev->tx_pkt_burst = idpf_tx_path_infos[ad->tx_func_type].pkt_burst;
 	dev->tx_pkt_prepare = idpf_dp_prep_pkts;
-	PMD_DRV_LOG(NOTICE, "Using %s Tx (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s Tx (port %d).",
 			idpf_tx_path_infos[ad->tx_func_type].info, dev->data->port_id);
 }
Signature · 1 line
2.43.0
author
#4 lore raw

PATCH 4/4 net/cpfl: demote path selection logs from NOTICE to DEBUG

In reply to Shaiq Wani

Demote Rx/Tx path selection messages from NOTICE to DEBUG level to reduce noise.

Fixes a8225f2b308d ("net/cpfl: use common Rx path selection infrastructure")
Fixes 6970745698b9 ("net/cpfl: use common Tx path selection infrastructure")
---
 drivers/net/intel/cpfl/cpfl_rxtx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/cpfl/cpfl_rxtx.c +2 -2
index ad622b267d..bbf8225d54 100644
@@ -1487,7 +1487,7 @@ cpfl_set_rx_function(struct rte_eth_dev *dev)
 
 out:
 	dev->rx_pkt_burst = idpf_rx_path_infos[ad->rx_func_type].pkt_burst;
-	PMD_DRV_LOG(NOTICE, "Using %s Rx (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s Rx (port %d).",
 			idpf_rx_path_infos[ad->rx_func_type].info, dev->data->port_id);
 
 }
@@ -1556,6 +1556,6 @@ cpfl_set_tx_function(struct rte_eth_dev *dev)
 out:
 	dev->tx_pkt_burst = idpf_tx_path_infos[ad->tx_func_type].pkt_burst;
 	dev->tx_pkt_prepare = idpf_dp_prep_pkts;
-	PMD_DRV_LOG(NOTICE, "Using %s Tx (port %d).",
+	PMD_DRV_LOG(DEBUG, "Using %s Tx (port %d).",
 			idpf_tx_path_infos[ad->tx_func_type].info, dev->data->port_id);
 }
Signature · 1 line
2.43.0
#5 lore raw
In reply to Shaiq Wani
Quoted 9 lines · Shaiq Wani

Demote Rx/Tx path selection messages from NOTICE to DEBUG level to reduce noise across ice, iavf, idpf and cpfl drivers.

Shaiq Wani (4):
net/ice: demote path selection logs from NOTICE to DEBUG net/iavf: demote path selection logs from NOTICE to DEBUG net/idpf: demote path selection logs from NOTICE to DEBUG net/cpfl: demote path selection logs from NOTICE to DEBUG

Quoted 6 lines
 drivers/net/intel/cpfl/cpfl_rxtx.c | 4 ++--
 drivers/net/intel/iavf/iavf_rxtx.c | 4 ++--
 drivers/net/intel/ice/ice_rxtx.c   | 4 ++--
 drivers/net/intel/idpf/idpf_rxtx.c | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

Reasonable change, to match those proposed by Stephen for i40e. However, I don't view these as bugfixes and don't believe they should be backported, so dropping the fixes lines and Cc of stable in each patch.

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