net/ice/base: fix NVGRE switch rule programming
[dpdk.git] / drivers / bus / vdev / vdev_logs.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2017 Intel Corporation
3  */
4
5 #ifndef _VDEV_LOGS_H_
6 #define _VDEV_LOGS_H_
7
8 #include <rte_log.h>
9
10 extern int vdev_logtype_bus;
11
12 #define VDEV_LOG(level, fmt, args...) \
13         rte_log(RTE_LOG_ ## level, vdev_logtype_bus, "%s(): " fmt "\n", \
14                 __func__, ##args)
15
16 #endif /* _VDEV_LOGS_H_ */