From ef90ed08fbcde7535b4a789349b39dc25798c77d Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 13 Sep 2018 08:45:12 -0700 Subject: BIER API and load-balancing fixes Change-Id: Ibda19d786070c942c75016ab568c8361de2f24af Signed-off-by: Neale Ranns --- src/vnet/mpls/mpls_lookup.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/vnet/mpls/mpls_lookup.h') diff --git a/src/vnet/mpls/mpls_lookup.h b/src/vnet/mpls/mpls_lookup.h index 4311dc053ec..95558e05a4e 100644 --- a/src/vnet/mpls/mpls_lookup.h +++ b/src/vnet/mpls/mpls_lookup.h @@ -18,6 +18,7 @@ #include #include +#include /** * The arc/edge from the MPLS lookup node to the MPLS replicate node @@ -100,6 +101,10 @@ mpls_compute_flow_hash (const mpls_unicast_header_t * hdr, hash ^= ip6_compute_flow_hash ((const ip6_header_t *)hdr, IP_FLOW_HASH_DEFAULT); break; + case 5: + /* incorporate the bier flow-hash */ + hash ^= bier_compute_flow_hash ((const bier_hdr_t *)hdr); + break; default: break; } -- cgit 1.2.3-korg