net/sfc: support TSO in EF10 Tx datapath
[dpdk.git] / drivers / event / opdl / opdl_log.h
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
12 #define PMD_DRV_LOG_RAW(level, fmt, args...) \
13         rte_log(RTE_LOG_ ## level, opdl_logtype_driver, "%s(): " fmt, \
14                         __func__, ## args)
15
16 #define PMD_DRV_LOG(level, fmt, args...) \
17         PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
18
19
20
21 #endif /* _OPDL_LOGS_H_ */