[PATCH v3 22/37] bus/cdx: replace RTE_LOG_DP with rte_log_dp

Stephen Hemminger stephen at networkplumber.org
Wed Dec 13 17:35:56 CET 2023


Want datapath logs to use own logtype.

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 drivers/bus/cdx/cdx_logs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/cdx/cdx_logs.h b/drivers/bus/cdx/cdx_logs.h
index a1046ce544a6..e432fae00e4d 100644
--- a/drivers/bus/cdx/cdx_logs.h
+++ b/drivers/bus/cdx/cdx_logs.h
@@ -25,7 +25,7 @@ extern int cdx_logtype_bus;
 
 /* DP Logs, toggled out at compile time if level lower than current level */
 #define CDX_BUS_DP_LOG(level, fmt, args...) \
-	RTE_LOG_DP(level, PMD, fmt, ## args)
+	RTE_LOG_DP(level, cdx_logtype_bus, fmt, ## args)
 
 #define CDX_BUS_DP_DEBUG(fmt, args...) \
 	CDX_BUS_DP_LOG(DEBUG, fmt, ## args)
-- 
2.43.0



More information about the dev mailing list