aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tap/tap_log.h
blob: fa06843a4c41e020cce373ac4ef99ddb399851c5 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright 2017 6WIND S.A.
 * Copyright 2017 Mellanox Technologies, Ltd
 */

extern int tap_logtype;

#define TAP_LOG(level, fmt, args...) \
	rte_log(RTE_LOG_ ## level, tap_logtype, "%s(): " fmt "\n", \
		__func__, ## args)