FIX: excessive logging in I40E driver
PATCH 1/1 FIX: excessive logging in I40E driver
Resolved bug #1936 by changing the log level in i40e_set_tx_function from NOTICE to DEBUG
--- drivers/net/intel/i40e/i40e_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/intel/i40e/i40e_rxtx.c +1 -1
@@ -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.43.0
Quoted 10 lines · Arin Kharkar
Resolved bug #1936 by changing the log level in
i40e_set_tx_functionfrom NOTICE to DEBUG--- drivers/net/intel/i40e/i40e_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/intel/i40e/i40e_rxtx.c +0
-0
drivers/net/intel/i40e/i40e_rxtx.c i40e_set_tx_function(struct rte_eth_dev *dev) · line 3130
Quoted 8 lines
drivers/net/intel/i40e/i40e_rxtx.c +1
-1@@ -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 ||
Hi, thanks for the fix.
Unfortunately, with the recent changes in the drivers to use a different path selection mechanism, this patch is no longer relevant, I believe. The log messages for path selection in the driver on "next-net-intel" tree are now all at DEBUG level.
Marking as not-applicable in patchwork.
Thanks,
/Bruce