Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
acl-plugin: tm: optimize multi-lookups and prepare to add tuplemerge
[vpp.git]
/
src
/
plugins
/
acl
/
hash_lookup_private.h
diff --git
a/src/plugins/acl/hash_lookup_private.h
b/src/plugins/acl/hash_lookup_private.h
index
bc62141
..
0db02ea
100644
(file)
--- a/
src/plugins/acl/hash_lookup_private.h
+++ b/
src/plugins/acl/hash_lookup_private.h
@@
-23,7
+23,7
@@
#define DBG_UNIX_LOG(...)
#elif ACL_HASH_LOOKUP_DEBUG == 2
#define DBG0(...) clib_warning(__VA_ARGS__)
#define DBG_UNIX_LOG(...)
#elif ACL_HASH_LOOKUP_DEBUG == 2
#define DBG0(...) clib_warning(__VA_ARGS__)
-#define DBG(...)
clib_warning(__VA_ARGS__
)
+#define DBG(...)
do { void *prevheap = clib_mem_set_heap (vlib_global_main.heap_base); vlib_cli_output(&vlib_global_main, __VA_ARGS__); clib_mem_set_heap (prevheap); } while (0
)
#define DBG_UNIX_LOG(...) clib_unix_warning(__VA_ARGS__)
#else
#define DBG0(...)
#define DBG_UNIX_LOG(...) clib_unix_warning(__VA_ARGS__)
#else
#define DBG0(...)