1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2015-2018 Intel Corporation
8 #ifdef RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER
9 #define PMD_DRV_LOG_RAW(level, fmt, args...) \
10 RTE_LOG(level, PMD, "%s(): " fmt, __func__, ## args)
12 #define PMD_DRV_LOG_RAW(level, fmt, args...) do { } while (0)
15 #define PMD_DRV_LOG(level, fmt, args...) \
16 PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
18 #endif /* _QAT_LOGS_H_ */