]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: move mp_nexthop_prefer_global boolean attribute to nh_flag
authorLouis Scalbert <louis.scalbert@6wind.com>
Fri, 29 Apr 2022 17:41:57 +0000 (19:41 +0200)
committerLouis Scalbert <louis.scalbert@6wind.com>
Fri, 16 Dec 2022 14:07:00 +0000 (15:07 +0100)
commit667a4e92da1d789b5aa3da15c3f80d3f4658a53e
tree23e151fb05db755f1b768c261caa1c1a9e442b0c
parent86a1c2963266fe5a0683278668c276c748f32552
bgpd: move mp_nexthop_prefer_global boolean attribute to nh_flag

Previous commits have introduced a new 8 bits nh_flag in the attr
struct that has increased the memory footprint.

Move the mp_nexthop_prefer_global boolean in the attr structure that
takes 8 bits to the new nh_flag in order to go back to the previous
memory utilization.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
bgpd/bgp_attr.h
bgpd/bgp_mpath.c
bgpd/bgp_nht.c
bgpd/bgp_route.c
bgpd/bgp_routemap.c
bgpd/bgp_snmp_bgp4v2.c
bgpd/bgp_zebra.c