raw/ioat: add component prefix to log messages
Add the driver prefix "IOAT" to log messages for the driver. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
2ef79bea8f
commit
cb235af84d
@ -21,7 +21,7 @@
|
||||
extern int ioat_pmd_logtype;
|
||||
|
||||
#define IOAT_PMD_LOG(level, fmt, args...) rte_log(RTE_LOG_ ## level, \
|
||||
ioat_pmd_logtype, "%s(): " fmt "\n", __func__, ##args)
|
||||
ioat_pmd_logtype, "IOAT: %s(): " fmt "\n", __func__, ##args)
|
||||
|
||||
#define IOAT_PMD_DEBUG(fmt, args...) IOAT_PMD_LOG(DEBUG, fmt, ## args)
|
||||
#define IOAT_PMD_INFO(fmt, args...) IOAT_PMD_LOG(INFO, fmt, ## args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user