Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix detection of packet output via BVI into a BD and SHG adjustment
[vpp.git]
/
vnet
/
vnet
/
l2
/
l2_input.h
diff --git
a/vnet/vnet/l2/l2_input.h
b/vnet/vnet/l2/l2_input.h
index
c1c9eb1
..
b4e90af
100644
(file)
--- a/
vnet/vnet/l2/l2_input.h
+++ b/
vnet/vnet/l2/l2_input.h
@@
-86,6
+86,9
@@
l2input_bd_config_from_index (l2input_main_t * l2im, u32 bd_index)
return bd_is_valid (bd_config) ? bd_config : NULL;
}
+/* L2 input indication packet is from BVI, using -2 */
+#define L2INPUT_BVI ((u32) (~0-1))
+
/* L2 input features */
/* Mappings from feature ID to graph node name */