Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ip: Router ID included in flow hash
[vpp.git]
/
src
/
vnet
/
mpls
/
mpls_lookup.h
diff --git
a/src/vnet/mpls/mpls_lookup.h
b/src/vnet/mpls/mpls_lookup.h
index
5b88be1
..
81c67ce
100644
(file)
--- a/
src/vnet/mpls/mpls_lookup.h
+++ b/
src/vnet/mpls/mpls_lookup.h
@@
-53,6
+53,7
@@
mpls_compute_flow_hash (const mpls_unicast_header_t * hdr,
ho_label = clib_net_to_host_u32(hdr->label_exp_s_ttl);
hash = vnet_mpls_uc_get_label(ho_label);
+ hash ^= ip_flow_hash_router_id;
next_label_is_entropy = 0;
while (MPLS_EOS != vnet_mpls_uc_get_s(ho_label))