xref: /dpdk/drivers/event/opdl/opdl_log.h (revision 2b843cac232eb3f2fa79e4254e21766817e2019f)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2017 Intel Corporation
3  */
4 
5 #ifndef _OPDL_LOGS_H_
6 #define _OPDL_LOGS_H_
7 
8 #include <rte_log.h>
9 
10 extern int opdl_logtype_driver;
11 #define RTE_LOGTYPE_OPDL opdl_logtype_driver
12 
13 #define PMD_DRV_LOG(level, ...) \
14 	RTE_LOG_LINE_PREFIX(level, OPDL, "%s(): ", __func__, __VA_ARGS__)
15 
16 #endif /* _OPDL_LOGS_H_ */
17