1b3b7caeb1
Use new logging macro to convert all calls to RTE_LOG() into new dynamic log type. Also fix whitespace. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
11 lines
267 B
C
11 lines
267 B
C
/* 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)
|