1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
5 #ifndef _NITROX_LOGS_H_
6 #define _NITROX_LOGS_H_
8 #define LOG_PREFIX "NITROX: "
9 #define NITROX_LOG(level, fmt, args...) \
10 rte_log(RTE_LOG_ ## level, nitrox_logtype, \
11 LOG_PREFIX "%s:%d " fmt, __func__, __LINE__, ## args)
13 extern int nitrox_logtype;
15 #endif /* _NITROX_LOGS_H_ */