457967cd2b
Support device init and add following devops skeleton: - dev_configure - dev_start - dev_stop - dev_close Note that build system (including doc) is also added in this patch. Signed-off-by: Haiyue Wang <haiyue.wang@intel.com> Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com> Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
15 lines
301 B
C
15 lines
301 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(C) 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _GVE_LOGS_H_
|
|
#define _GVE_LOGS_H_
|
|
|
|
extern int gve_logtype_driver;
|
|
|
|
#define PMD_DRV_LOG(level, fmt, args...) \
|
|
rte_log(RTE_LOG_ ## level, gve_logtype_driver, "%s(): " fmt "\n", \
|
|
__func__, ## args)
|
|
|
|
#endif
|