fm10k: fix build with debug enabled
error: implicit declaration of function ‘RTE_LOG’ Fixes: a6061d9e7075 ("fm10k: register PF driver") Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
This commit is contained in:
parent
22e34d1211
commit
ae6ad6b0c4
@ -34,6 +34,8 @@
|
||||
#ifndef _FM10K_LOGS_H_
|
||||
#define _FM10K_LOGS_H_
|
||||
|
||||
#include <rte_log.h>
|
||||
|
||||
#define PMD_INIT_LOG(level, fmt, args...) \
|
||||
rte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \
|
||||
"PMD: %s(): " fmt "\n", __func__, ##args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user