1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2019 Intel Corporation
14 extern int stack_logtype;
16 #define STACK_LOG(level, fmt, args...) \
17 rte_log(RTE_LOG_ ##level, stack_logtype, "%s(): "fmt "\n", \
20 #define STACK_LOG_ERR(fmt, args...) \
21 STACK_LOG(ERR, fmt, ## args)
23 #define STACK_LOG_WARN(fmt, args...) \
24 STACK_LOG(WARNING, fmt, ## args)
26 #define STACK_LOG_INFO(fmt, args...) \
27 STACK_LOG(INFO, fmt, ## args)
34 #endif /* _STACK_PVT_H_ */