raw/ifpga: modify log output
Print function name in ifpga log and a new line goes after
every IFPGA log.
Fixes: ef1e8ede3d
("raw/ifpga: add Intel FPGA bus rawdev driver")
Cc: stable@dpdk.org
Signed-off-by: Andy Pei <andy.pei@intel.com>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
This commit is contained in:
parent
0fe3f18f78
commit
a3a6a3d94f
@ -8,8 +8,8 @@
|
||||
extern int ifpga_rawdev_logtype;
|
||||
|
||||
#define IFPGA_RAWDEV_PMD_LOG(level, fmt, args...) \
|
||||
rte_log(RTE_LOG_ ## level, ifpga_rawdev_logtype, "ifgpa: " fmt, \
|
||||
##args)
|
||||
rte_log(RTE_LOG_ ## level, ifpga_rawdev_logtype, "%s(): " fmt "\n", \
|
||||
__func__, ##args)
|
||||
|
||||
#define IFPGA_RAWDEV_PMD_FUNC_TRACE() IFPGA_RAWDEV_PMD_LOG(DEBUG, ">>")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user