net/bnxt: fix Tx and Rx burst for secondary process
[dpdk.git] / drivers / net / szedata2 / szedata2_logs.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2018 CESNET
3  */
4
5 #ifndef _SZEDATA2_LOGS_H_
6 #define _SZEDATA2_LOGS_H_
7
8 #include <rte_log.h>
9
10 extern int szedata2_logtype_init;
11 #define PMD_INIT_LOG(level, fmt, args...) \
12         rte_log(RTE_LOG_ ## level, szedata2_logtype_init, \
13                 "%s(): " fmt "\n", __func__, ## args)
14
15 #define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, " >>")
16
17 extern int szedata2_logtype_driver;
18 #define PMD_DRV_LOG(level, fmt, args...) \
19         rte_log(RTE_LOG_ ## level, szedata2_logtype_driver, \
20                 "%s(): " fmt "\n", __func__, ## args)
21
22 #endif /* _SZEDATA2_LOGS_H_ */