Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
gbp: Consider data-plane learnt source better than control-plane
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp_endpoint.h
diff --git
a/src/plugins/gbp/gbp_endpoint.h
b/src/plugins/gbp/gbp_endpoint.h
index
a0d354a
..
27df644
100644
(file)
--- a/
src/plugins/gbp/gbp_endpoint.h
+++ b/
src/plugins/gbp/gbp_endpoint.h
@@
-58,11
+58,13
@@
extern u8 *format_gbp_endpoint_flags (u8 * s, va_list * args);
/**
* Sources of Endpoints in priority order. The best (lowest value) source
/**
* Sources of Endpoints in priority order. The best (lowest value) source
- * provides the forwarding information
+ * provides the forwarding information.
+ * Data-plane takes preference because the CP data is not always complete,
+ * it may not have the sclass.
*/
#define foreach_gbp_endpoint_src \
*/
#define foreach_gbp_endpoint_src \
- _(CP, "control-plane") \
_(DP, "data-plane") \
_(DP, "data-plane") \
+ _(CP, "control-plane") \
_(RR, "recursive-resolution")
typedef enum gbp_endpoint_src_t_
_(RR, "recursive-resolution")
typedef enum gbp_endpoint_src_t_