git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e787b44
)
net/nfp: remove compile time log
author
Ferruh Yigit
<ferruh.yigit@intel.com>
Tue, 18 May 2021 10:41:15 +0000
(11:41 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 16 Aug 2021 14:03:30 +0000
(16:03 +0200)
Logging should be converted to dynamic log.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Heinrich Kuhn <heinrich.kuhn@netronome.com>
drivers/net/nfp/nfp_net_logs.h
patch
|
blob
|
history
diff --git
a/drivers/net/nfp/nfp_net_logs.h
b/drivers/net/nfp/nfp_net_logs.h
index
27dd876
..
76cc94c
100644
(file)
--- a/
drivers/net/nfp/nfp_net_logs.h
+++ b/
drivers/net/nfp/nfp_net_logs.h
@@
-30,14
+30,7
@@
extern int nfp_logtype_init;
#define ASSERT(x) do { } while (0)
#endif
-#define RTE_LIBRTE_NFP_NET_DEBUG_CPP
-
-#ifdef RTE_LIBRTE_NFP_NET_DEBUG_CPP
-#define PMD_CPP_LOG(level, fmt, args...) \
- RTE_LOG(level, PMD, "%s(): " fmt "\n", __func__, ## args)
-#else
#define PMD_CPP_LOG(level, fmt, args...) do { } while (0)
-#endif
extern int nfp_logtype_driver;
#define PMD_DRV_LOG(level, fmt, args...) \