mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 06:43:16 +00:00
Merge pull request #15275 from opensourcerouting/fix/one_more_memory_optimization_attr_struct
bgpd: One more attr struct memory optimization
This commit is contained in:
commit
a4f222292b
@ -201,6 +201,10 @@ struct attr {
|
||||
/* Distance as applied by Route map */
|
||||
uint8_t distance;
|
||||
|
||||
/* EVPN DF preference for DF election on local ESs */
|
||||
uint8_t df_alg;
|
||||
uint16_t df_pref;
|
||||
|
||||
/* PMSI tunnel type (RFC 6514). */
|
||||
enum pta_type pmsi_tnl_type;
|
||||
|
||||
@ -215,6 +219,9 @@ struct attr {
|
||||
/* ifIndex corresponding to mp_nexthop_local. */
|
||||
ifindex_t nh_lla_ifindex;
|
||||
|
||||
/* MPLS label */
|
||||
mpls_label_t label;
|
||||
|
||||
/* Extended Communities attribute. */
|
||||
struct ecommunity *ecommunity;
|
||||
|
||||
@ -262,13 +269,6 @@ struct attr {
|
||||
/* Label index */
|
||||
uint32_t label_index;
|
||||
|
||||
/* MPLS label */
|
||||
mpls_label_t label;
|
||||
|
||||
/* EVPN DF preference for DF election on local ESs */
|
||||
uint16_t df_pref;
|
||||
uint8_t df_alg;
|
||||
|
||||
/* SRv6 VPN SID */
|
||||
struct bgp_attr_srv6_vpn *srv6_vpn;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user