git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eal: remove deprecated coherent IO memory barriers
[dpdk.git]
/
drivers
/
common
/
cpt
/
cpt_pmd_logs.h
diff --git
a/drivers/common/cpt/cpt_pmd_logs.h
b/drivers/common/cpt/cpt_pmd_logs.h
index
4cbec4e
..
174326c
100644
(file)
--- a/
drivers/common/cpt/cpt_pmd_logs.h
+++ b/
drivers/common/cpt/cpt_pmd_logs.h
@@
-11,8
+11,12
@@
* This file defines log macros
*/
* This file defines log macros
*/
+/*
+ * otx*_cryptodev.h file would define the CPT_LOGTYPE macro for the
+ * platform.
+ */
#define CPT_PMD_DRV_LOG_RAW(level, fmt, args...) \
#define CPT_PMD_DRV_LOG_RAW(level, fmt, args...) \
- rte_log(RTE_LOG_ ## level,
cpt_logtype
, \
+ rte_log(RTE_LOG_ ## level,
CPT_LOGTYPE
, \
"cpt: %s(): " fmt "\n", __func__, ##args)
#define CPT_PMD_INIT_FUNC_TRACE() CPT_PMD_DRV_LOG_RAW(DEBUG, " >>")
"cpt: %s(): " fmt "\n", __func__, ##args)
#define CPT_PMD_INIT_FUNC_TRACE() CPT_PMD_DRV_LOG_RAW(DEBUG, " >>")
@@
-41,10
+45,4
@@
#define CPT_LOG_DP_ERR(fmt, args...) \
CPT_LOG_DP(ERR, fmt, ## args)
#define CPT_LOG_DP_ERR(fmt, args...) \
CPT_LOG_DP(ERR, fmt, ## args)
-/*
- * cpt_logtype will be used for common logging. This field would be initialized
- * by otx_* driver routines during PCI probe.
- */
-int cpt_logtype;
-
#endif /* _CPT_PMD_LOGS_H_ */
#endif /* _CPT_PMD_LOGS_H_ */