Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
l2: input performance
[vpp.git]
/
src
/
vnet
/
dpo
/
dvr_dpo.c
diff --git
a/src/vnet/dpo/dvr_dpo.c
b/src/vnet/dpo/dvr_dpo.c
index
6dd5810
..
533ce4b
100644
(file)
--- a/
src/vnet/dpo/dvr_dpo.c
+++ b/
src/vnet/dpo/dvr_dpo.c
@@
-110,7
+110,8
@@
dvr_dpo_add_or_lock (u32 sw_if_index,
config = l2input_intf_config (sw_if_index);
- if (config->bridge || config->xconnect)
+ if (l2_input_is_bridge(config) ||
+ l2_input_is_xconnect(config))
{
dd->dd_reinject = DVR_REINJECT_L2;
}