File: vdev_logs.h

package info (click to toggle)
dpdk 25.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 127,892 kB
  • sloc: ansic: 2,358,479; python: 16,426; sh: 4,474; makefile: 1,713; awk: 70
file content (16 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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 RTE_LOGTYPE_VDEV_BUS vdev_logtype_bus

#define VDEV_LOG(level, ...) \
	RTE_LOG_LINE_PREFIX(level, VDEV_BUS, "%s(): ", __func__, __VA_ARGS__)

#endif /* _VDEV_LOGS_H_ */