Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
dpdk: be a plugin
[vpp.git]
/
src
/
vnet
/
replication.c
diff --git
a/src/vnet/replication.c
b/src/vnet/replication.c
index
0275519
..
86d922b
100644
(file)
--- a/
src/vnet/replication.c
+++ b/
src/vnet/replication.c
@@
-214,9
+214,9
@@
replication_recycle_callback (vlib_main_t * vm, vlib_buffer_free_list_t * fl)
b0->flags |= VLIB_BUFFER_IS_RECYCLED;
#if (CLIB_DEBUG > 0)
b0->flags |= VLIB_BUFFER_IS_RECYCLED;
#if (CLIB_DEBUG > 0)
-#if DPDK == 0
- vlib_buffer_set_known_state (vm, bi0, VLIB_BUFFER_KNOWN_ALLOCATED);
-#endif
+ if (vm->buffer_main->extern_buffer_mgmt == 0)
+ vlib_buffer_set_known_state (vm, bi0,
+ VLIB_BUFFER_KNOWN_ALLOCATED);
#endif
/* If buffer is traced, mark frame as traced */
#endif
/* If buffer is traced, mark frame as traced */