]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: keep a backpointer to vrf instance in struct bgpevpn
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Fri, 23 Feb 2018 09:16:32 +0000 (01:16 -0800)
committermitesh <mitesh@cumulusnetworks.com>
Tue, 27 Feb 2018 09:14:43 +0000 (01:14 -0800)
commitbc4606bd1ac5c34dc1f735898e0ad37a862e2892
treeb909c8b395981cc4a17a133f01572afed138e128
parenta75c25534a30b47b39f80b0fb8d66fd67f4836e0
bgpd: keep a backpointer to vrf instance in struct bgpevpn

We will keep a backpointer to bgp vrf instance in bgpevpn.
struct bgpevpn denotes a l2vni and bgp_vrf corresponds to l3vni.
A back pointer to the vrf will provide efficient
access to vrf when needed.

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
bgpd/bgp_evpn_private.h