numam-dpdk/drivers/bus/vdev/vdev_logs.h
Bruce Richardson 5566a3e358 drivers: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for files
with only an Intel copyright on them.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2018-01-04 22:41:39 +01:00

17 lines
337 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2017 Intel Corporation
*/
#ifndef _VDEV_LOGS_H_
#define _VDEV_LOGS_H_
#include <rte_log.h>
extern int vdev_logtype_bus;
#define VDEV_LOG(level, fmt, args...) \
rte_log(RTE_LOG_ ## level, vdev_logtype_bus, "%s(): " fmt "\n", \
__func__, ##args)
#endif /* _VDEV_LOGS_H_ */