]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_route.c
bgpd : route agg. with lcomm attribute is consuming lot of cycles.
authorvdhingra <vdhingra@vmware.com>
Mon, 12 Aug 2019 12:13:14 +0000 (05:13 -0700)
committervdhingra <vdhingra@vmware.com>
Tue, 24 Sep 2019 09:53:51 +0000 (02:53 -0700)
commitf1eb1f0526eeb00f2faa07eb880d7be81b72f560
tree5782bf1ff46198b543f8360f9bade12e961f5330
parentd99d43bc4e92e2e553103bb6be63776f8ce0e756
bgpd : route agg. with lcomm attribute is consuming lot of cycles.

While configuring aggregate route prepare the hash table first,
then prepare the aggregated lcomm value and then do the unique
sort once for large community.

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
bgpd/bgp_lcommunity.c
bgpd/bgp_lcommunity.h
bgpd/bgp_route.c