git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef79be
)
raw/ioat: add component prefix to log messages
author
Bruce Richardson
<bruce.richardson@intel.com>
Tue, 4 May 2021 13:14:49 +0000
(14:14 +0100)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 4 May 2021 15:07:19 +0000
(17:07 +0200)
Add the driver prefix "IOAT" to log messages for the driver.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/raw/ioat/ioat_private.h
patch
|
blob
|
history
diff --git
a/drivers/raw/ioat/ioat_private.h
b/drivers/raw/ioat/ioat_private.h
index
6c42381
..
f032d5f
100644
(file)
--- a/
drivers/raw/ioat/ioat_private.h
+++ b/
drivers/raw/ioat/ioat_private.h
@@
-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)