diff options
author | Neale Ranns <nranns@cisco.com> | 2019-06-21 02:09:25 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-07-03 11:31:16 +0000 |
commit | 3eea9de899f4affbe6695bb314989981fca8f234 (patch) | |
tree | fe40b4ae071bdd399c78b3825a3def4fc966e868 /src/plugins/gbp/gbp_endpoint.h | |
parent | 7bf7ea3ce39c1d70c0409dcbecd5c4aaf26fae13 (diff) |
gbp: Consider data-plane learnt source better than control-plane
Type: feature
Change-Id: Ice8fc0da6450d2aa8ba63ca1277393ac3605aa2c
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/gbp/gbp_endpoint.h')
-rw-r--r-- | src/plugins/gbp/gbp_endpoint.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/gbp/gbp_endpoint.h b/src/plugins/gbp/gbp_endpoint.h index a0d354ab8ab..27df6447e20 100644 --- 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 - * 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 \ - _(CP, "control-plane") \ _(DP, "data-plane") \ + _(CP, "control-plane") \ _(RR, "recursive-resolution") typedef enum gbp_endpoint_src_t_ |