]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Sort the bgp_path_info's 15572/head
authorDonald Sharp <sharpd@nvidia.com>
Tue, 19 Mar 2024 16:26:14 +0000 (12:26 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 1 Apr 2024 18:54:02 +0000 (14:54 -0400)
commitf3575f61c7c15a4207006043eb359e390751ce3b
tree457a50520ffe8b9c75210692acac9457a09b8643
parent6ebb7add1f9191af1a8d5e156e0525b1b0cc9970
bgpd: Sort the bgp_path_info's

Currently bgp_path_info's are stored in reverse order
received.  Sort them by the best path ordering.

This will allow for optimizations in the future on
how multipath is done.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_evpn.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_route.c
bgpd/bgp_route.h